Download the PHP package spejder/odoo-client without Composer

On this page you can find all versions of the php package spejder/odoo-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package odoo-client

OdooClient

OdooClient is an Odoo client for PHP. It is inspired on OpenERP API from simbigo and uses a more or less similar API. Instead of an own XML-RPC client it depends on the XML-RPC and XML libraries from Laminas (formerly Zend Framework).

:information_source: This is a fork of the inactive jacobsteringa/odoo-client. Dependencies have been updated and code style modernized to PSR-12. Actual credit for the code goes to @jacobsteringa :heart:

Supported versions

This library should work with Odoo 8 and 9. If you find any any incompatibilities, please create an issue or submit a pull request.

Known issues

Usage

Instantiate a new client.

For the client to work you have to include the /xmlrpc/2 part of the url.

When you need to tweak the HTTP client used by the XML-RPC client, you can inject a custom HTTP client via the constructor or the Odoo::setHttpClient method.

xmlrpc/2/common endpoint

Getting version information.

Getting timezone information.

There is no login/authenticate method. The client does authentication for you, that is why the credentials are passed as constructor arguments.

xmlrpc/2/object endpoint

Search for records.

Reading records.

Creating records.

Updating records.

Deleting records.

Get report in base64 format.

License

MIT License. Copyright (c) 2014 Jacob Steringa.


All versions of odoo-client with dependencies

PHP Build Version
Package Version
Requires laminas/laminas-xmlrpc Version ^2.9
laminas/laminas-http Version ^2.12
php Version >=7.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package spejder/odoo-client contains the following files

Loading the files please wait ....