This component allows you to manage your Odoo instance as database like Doctrine by managing records.
This library uses the PHP Odoo API client >=8.x
with JSON-RPC by default.
Main features
- Record manager - Main entrypoint of DBAL API
- Schema - Get models and fields metadata
- Custom metadata caching
- Types converter and custom types
- Query builder to make queries easily
- Repositories for built-in methods and reusable queries
- Lazy result for massive data (select/search)
Open a command console, enter your project directory and execute the following command to download the latest stable version of the client:
$ composer require ang3/php-odoo-dbal
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Please read the documentation.
To run tests:
$ git clone git@github.com:Ang3/php-odoo-dbal.git
$ composer install
$ vendor/bin/simple-phpunit
This software is published under the MIT License.