PHPackages                             previewict/openerp-php-connector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. previewict/openerp-php-connector

ActiveLibrary[API Development](/categories/api)

previewict/openerp-php-connector
================================

Connect your PHP driven web application with Open ERP

v1.0(11y ago)02253[4 issues](https://github.com/previewict/openerp-php-connector/issues)[1 PRs](https://github.com/previewict/openerp-php-connector/pulls)MITPHPPHP &gt;=5.3.0

Since Apr 6Pushed 9y ago6 watchersCompare

[ Source](https://github.com/previewict/openerp-php-connector)[ Packagist](https://packagist.org/packages/previewict/openerp-php-connector)[ RSS](/packages/previewict-openerp-php-connector/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

[![OpenErp Logo](https://camo.githubusercontent.com/135abc52b275d1382a5f96dee967d9a728be5ccd680cfb16aa702147ebaf5af5/68747470733a2f2f7369677268652e646761652e6d65632e70742f6f70656e6572702f7374617469632f696d616765732f6f70656e6572705f736d616c6c2e706e67)](https://camo.githubusercontent.com/135abc52b275d1382a5f96dee967d9a728be5ccd680cfb16aa702147ebaf5af5/68747470733a2f2f7369677268652e646761652e6d65632e70742f6f70656e6572702f7374617469632f696d616765732f6f70656e6572705f736d616c6c2e706e67)

OpenERP PHP Connector
=====================

[](#openerp-php-connector)

Connect your PHP driven web application with OpenERP through PHP XML RPC

\#####Installation &amp; Usage To get started you need to install this library via **[Composer](http://getcomposer.org)**. If you have ready **composer.json** file then just add `"previewict/openerp-php-connector": "dev-master"` as a dependency. Or if you don't have any composer.json ready then copy/paste the below code and create your **composer.json** file.

```
{
    "name": "YourProjectName",

    "description": "YourProjectDescription",

    "require": {
        "php": ">=5.3.0",
        "previewict/openerp-php-connector": "dev-master"
    }
}
```

Now just run `composer update` command and this **openerp php connector** library will be cloned into your **vendor** directory.

Now I am assuming that you already cloned this repository via composer.json or direct clone from GitHub. Now to use this you have to write down the following codes on your script.

```
require_once 'vendor/autoload.php';

use OpenErp\Modules\Sales\Customer;

/**
* USERNAME = Your OpenERP username. i.e: admin
* PASSWORD = Your OpenERP password. i.e: 123456
* DATABASE = Your OpenERP database name. i.e: openerp_demo
* SERVER = Your OpenERP Server. i.e: http://yourOpenERPServer.com
*/
$sales = new Customer(USERNAME, PASSWORD, DATABASE, SERVER);
$result = $sales->read($customerID);   // a customer ID to get details from your OpenERP. i.e: 10
var_dump($result); die();
```

Now it will give you a PHP array. And now you can use the data however you want.

- [Submit Issues](https://github.com/previewict/openerp-php-connector/issues/new)Submit issues if you found anything wrong or face any problem to use this library
- [Instant Support](mailto:shaharia@previewict.com)
- [Documentation/Wiki](https://github.com/previewict/openerp-php-connector/wiki)

Please [Form](https://github.com/previewict/openerp-php-connector/fork) and send me Pull request if you added something useful for this. Happy PHP-ing!

###  Health Score

29

↑

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4051d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b54bd4f801cd13d8413a2a3484c2eb64180741b147419c2490555059fc7c48e?d=identicon)[shahariaazam](/maintainers/shahariaazam)

---

Top Contributors

[![shahariaazam](https://avatars.githubusercontent.com/u/1095008?v=4)](https://github.com/shahariaazam "shahariaazam (45 commits)")[![imtiazPabel](https://avatars.githubusercontent.com/u/3501487?v=4)](https://github.com/imtiazPabel "imtiazPabel (5 commits)")[![sohelrana820](https://avatars.githubusercontent.com/u/2820810?v=4)](https://github.com/sohelrana820 "sohelrana820 (1 commits)")

---

Tags

phpOpenERPxmlrpcERP

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/previewict-openerp-php-connector/health.svg)

```
[![Health](https://phpackages.com/badges/previewict-openerp-php-connector/health.svg)](https://phpackages.com/packages/previewict-openerp-php-connector)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
