PHPackages                             aungmyokyaw/radoo - 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. aungmyokyaw/radoo

ActiveLibrary[API Development](/categories/api)

aungmyokyaw/radoo
=================

Odoo ERP API for Laravel

v1.0.0(3y ago)153MITPHPPHP ^5.6||^7.0||^8.0

Since Apr 14Pushed 3y agoCompare

[ Source](https://github.com/aungmyokyaw97/radoo)[ Packagist](https://packagist.org/packages/aungmyokyaw/radoo)[ RSS](/packages/aungmyokyaw-radoo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (0)

Radoo
=====

[](#radoo)

Odoo ERP API for Laravel. [Odoo website](https://www.odoo.com)

Original credit for the package
-------------------------------

[](#original-credit-for-the-package)

[Edujugon Laradoo](https://github.com/Edujugon/laradoo)
-------------------------------------------------------

[](#edujugon-laradoo)

Additional added features
-------------------------

[](#additional-added-features)

- support PHP 8 version

Installation
------------

[](#installation)

type in console:

```
composer require aungmyokyaw/radoo

```

Publish the package's configuration file to the application's own config directory

```
php artisan vendor:publish --tag="radoo-config"
```

### Configuration

[](#configuration)

After publishing the package config file, the base configuration for laradoo package is located in config/laradoo.php

Also, you can dynamically update those values calling the available setter methods:

`host($url)`, `username($username)`, `password($password)`, `db($name)`, `apiSuffix($name)`

Usage samples
-------------

[](#usage-samples)

Instance the main Odoo class:

```
$odoo = new \Amk\Radoo\Radoo();
```

You can get the Odoo API version just calling the version method:

```
$version = $odoo->version();
```

> This methods doesn't require to be connected/Logged into the ERP.

Connect and log into the ERP:

```
$odoo = $odoo->connect();
```

All needed configuration data is taken from `laradoo.php` config file. But you always may pass new values on the fly if required.

```
$this->odoo = $this->odoo
            ->username('my-user-name')
            ->password('my-password')
            ->db('my-db')
            ->host('https://my-host.com')
            ->connect();
```

> // Note: `host` should contain 'http://' or 'https://'

After login, you can check the user identifier like follows:

```
$userId= $this->odoo->getUid();
```

You always can check the permission on a specific model:

```
$can = $odoo->can('read', 'res.partner');
```

> Permissions which can be checked: 'read','write','create','unlink'

Method `search provides a collection of ids based on your conditions:

```
$ids = $odoo->where('customer', '=', true)
            ->search('res.partner');
```

You can limit the amount of data using `limit` method and use as many as condition you need:

```
$ids = $odoo->where('is_company', true)
            ->where('customer', '=', true)
            ->limit(3)
            ->search('res.partner');
```

If need to get a list of models, use the `get` method:

```
$models = $odoo->where('customer', true)
                ->limit(3)
                ->get('res.partner');
```

Instead of retrieving all properties of the models, you can reduce it by adding `fields` method before the method `get`

```
$models = $odoo->where('customer', true)
                ->limit(3)
                ->fields('name')
                ->get('res.partner');
```

If not sure about what fields a model has, you can retrieve the model structure data by calling `fieldsOf` method:

```
$structure = $odoo->fieldsOf('res.partner');
```

Till now we have only retrieved data from the ERP but you can also Create and Delete records.

In order to create a new record just call `create` method as follows:

```
$id = $odoo->create('res.partner',['name' => 'Jonh Odoo']);
```

> The method returns the id of the new record.

For Deleting records we have the `delete` method:

```
$result = $odoo->where('name', 'Jonh Odoo')
            ->delete('res.partner');
```

> Notice that before calling `delete` method you have to use `where`.

You can also remove records by ids like follows:

```
$result = $odoo->deleteById('res.partner',$ids);
```

Update any record of your ERP:

```
$updated = $odoo->where('name', 'John Odoo')
            ->update('res.partner',['name' => 'John Odoo Odoo','email' => 'Johndoe@odoo.com']);
```

Notice that all `delete` and `update` methods always returns `true` except if there was an error.

`call` method is also available for those who want to set a custom API call:

```
$odoo->call('res.partner', 'search',[
        [
            ['is_company', '=', true],
            ['customer', '=', true]
        ]
    ],[
        'offset'=>1,
        'limit'=>5
    ]);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.9% 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

Every ~0 days

Total

6

Last Release

1123d ago

Major Versions

v0.0.5 → v1.0.02023-04-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/0cd85400497e59f1cbd6425c3f64ff4c6db9abca024f71f09424656270f1b42e?d=identicon)[aungmyokyaw97](/maintainers/aungmyokyaw97)

---

Top Contributors

[![Edujugon](https://avatars.githubusercontent.com/u/4853751?v=4)](https://github.com/Edujugon "Edujugon (73 commits)")[![aungmyokyaw97](https://avatars.githubusercontent.com/u/32431323?v=4)](https://github.com/aungmyokyaw97 "aungmyokyaw97 (9 commits)")[![ruuter](https://avatars.githubusercontent.com/u/3863648?v=4)](https://github.com/ruuter "ruuter (2 commits)")[![Okipa](https://avatars.githubusercontent.com/u/5328934?v=4)](https://github.com/Okipa "Okipa (1 commits)")[![raakesh](https://avatars.githubusercontent.com/u/2386374?v=4)](https://github.com/raakesh "raakesh (1 commits)")[![winboyvn](https://avatars.githubusercontent.com/u/57658032?v=4)](https://github.com/winboyvn "winboyvn (1 commits)")

---

Tags

laravelpackageodooERP

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aungmyokyaw-radoo/health.svg)

```
[![Health](https://phpackages.com/badges/aungmyokyaw-radoo/health.svg)](https://phpackages.com/packages/aungmyokyaw-radoo)
```

###  Alternatives

[edujugon/laradoo

Odoo ERP API for Laravel

16468.6k](/packages/edujugon-laradoo)[joisarjignesh/bigbluebutton

BigBlueButton Server API Library for Laravel

162145.5k1](/packages/joisarjignesh-bigbluebutton)[joggapp/laravel-aws-sns

Laravel package for the SNS events by AWS

3171.8k](/packages/joggapp-laravel-aws-sns)[gregoriohc/laravel-trello

A Laravel wrapper and facade package for the Trello API

3366.8k2](/packages/gregoriohc-laravel-trello)[nikolag/laravel-square

Square API integration with Laravel built on nikolag/core

3827.3k](/packages/nikolag-laravel-square)[hernandev/hipchat-laravel

HipChat PHP Client Wrapper for Laravel 4 and 5

2733.2k](/packages/hernandev-hipchat-laravel)

PHPackages © 2026

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