Download the PHP package alazzi-az/odoo-xmlrpc without Composer
On this page you can find all versions of the php package alazzi-az/odoo-xmlrpc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alazzi-az/odoo-xmlrpc
More information about alazzi-az/odoo-xmlrpc
Files in alazzi-az/odoo-xmlrpc
Package odoo-xmlrpc
Short Description PHP package that provides a simple and easy-to-use interface for interacting with the Odoo XML-RPC API
License MIT
Homepage https://github.com/alazzi-az/odoo-xmlrpc
Informations about the package odoo-xmlrpc
Odoo XML-RPC Client
The Odoo XML-RPC Client is a PHP package that provides a simple and easy-to-use interface for interacting with the Odoo XML-RPC API. Unlike other Odoo clients that require extensions or other dependencies, this client uses the laminas/laminas-xmlrpc package, which is a pure PHP implementation of the XML-RPC protocol.
Requirements
- PHP 8.1 or later
- The laminas/laminas-xmlrpc package
Installation
You can install the package via composer:
Usage
To use the Odoo XML-RPC Client, first create an instance of the OdooClient class:
Replace https://your-odoo-instance.com, database, username, and password with the appropriate values for your Odoo instance.
Then you can use Odoo Client
Use Query Builder
-
To create a new instance of the QueryBuilder class, you need to provide the name of the model to query and an instance of the OdooClient class or using model method in client object
- And here is usage examples:
Creating a Class for Model
To create a class for a model, you can follow this example:
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Mohammed Ali Azman
- All Contributors
License
The MIT License (MIT). Please see License File for more information.