PHPackages                             panlatent/yii2-odoo - 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. [Framework](/categories/framework)
4. /
5. panlatent/yii2-odoo

AbandonedArchivedYii2-extension[Framework](/categories/framework)

panlatent/yii2-odoo
===================

Yii2 Odoo extension

37373PHP

Since Apr 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/panlatent/yii2-odoo)[ Packagist](https://packagist.org/packages/panlatent/yii2-odoo)[ RSS](/packages/panlatent-yii2-odoo/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [ ![](https://raw.githubusercontent.com/panlatent/yii2-odoo/master/docs/_static/logo.svg?sanitize=true) ](https://www.odoo.com/)

Odoo JSON-RPC Client, Query and ActiveRecord for Yii2
=====================================================

[](#odoo-json-rpc-client-query-and-activerecord-for-yii2)

This extension provides the [Odoo](https://www.odoo.com) integration for the [Yii framework 2.0](http://www.yiiframework.com/). It includes [Web Service API](https://www.odoo.com/documentation/10.0/api_integration.html) support and also implements the `Query` and `ActiveRecord` pattern.

Documentation is at [Read The Docs](https://yii2-odoo.panlatent.com/).

[![Build Status](https://camo.githubusercontent.com/3f5d12dcba26d49e5ed1f57bb494a4d6a2942e4c3de146393ca978f84163bd67/68747470733a2f2f7472617669732d63692e6f72672f70616e6c6174656e742f796969322d6f646f6f2e737667)](https://travis-ci.org/panlatent/yii2-odoo)[![Coverage Status](https://camo.githubusercontent.com/b006064d514fe6ff23156422714468d001628d0b23306a93313c23c0a31b0b0a/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70616e6c6174656e742f796969322d6f646f6f2f62616467652e737667)](https://coveralls.io/github/panlatent/yii2-odoo)[![Latest Stable Version](https://camo.githubusercontent.com/0af57e31e1c209df627173e36b03a7bbdbdcc8ff58269c45387f1023e894f411/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f796969322d6f646f6f2f762f737461626c652e737667)](https://packagist.org/packages/panlatent/yii2-odoo)[![Total Downloads](https://camo.githubusercontent.com/bae28a8beabd48db6265518c1e2e666ff0349bf17c70d90ff1030c78f4c46039/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f796969322d6f646f6f2f646f776e6c6f6164732e737667)](https://packagist.org/packages/panlatent/yii2-odoo)[![Latest Unstable Version](https://camo.githubusercontent.com/04f4e8e783fae855e712aa5961e9d8f90fcd89882836310c8bc321d28a53fb12/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f796969322d6f646f6f2f762f756e737461626c652e737667)](https://packagist.org/packages/panlatent/yii2-odoo)[![License](https://camo.githubusercontent.com/b3c29b903a26c2d9341af0476b134fde698a3c60bc381a1d46e34ed6947e020c/68747470733a2f2f706f7365722e707567782e6f72672f70616e6c6174656e742f796969322d6f646f6f2f6c6963656e73652e737667)](https://packagist.org/packages/panlatent/yii2-odoo)

Requirements
------------

[](#requirements)

- PHP 7.0 or higher

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist panlatent/yii2-odoo "*"

```

or add

```
"panlatent/yii2-odoo": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

Add the component to your application.

```
'components' => [
    'odoo' => [
        'class' => 'panlatent\odoo\Connection',
        'dsn' => 'localhost:8000/jsonrpc',
        'database' => '',
        'username' => '',
        'password' => '',
    ]
]
```

The extension support **Yii2 Debug** extension:

Add the panel component to your application.

```
'modules' => [
    'debug' => [
        'panels' => [
            'odoo' => [
                'class' => panlatent\odoo\debug\OdooPanel::class,
            ]
        ]
    ]
]
```

The extension support **Yii2 Gii** extension:

Add the panel component to your application.

```
'modules' => [
    'gii' => [
        'generators' => [
             \panlatent\odoo\gii\generators\model\Generator::class,
        ]
    ]
]
```

License
-------

[](#license)

The Yii2 Odoo is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 Bus Factor1

Top contributor holds 91.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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c79a4220751bab4ff8ee0953a41c4664fddb12e2a47e69442c2e5315b5c7ef9a?d=identicon)[panlatent](/maintainers/panlatent)

---

Top Contributors

[![panlatent](https://avatars.githubusercontent.com/u/4393268?v=4)](https://github.com/panlatent "panlatent (31 commits)")[![jiahuanle](https://avatars.githubusercontent.com/u/11625753?v=4)](https://github.com/jiahuanle "jiahuanle (1 commits)")[![kazz3m](https://avatars.githubusercontent.com/u/11152877?v=4)](https://github.com/kazz3m "kazz3m (1 commits)")[![verbi](https://avatars.githubusercontent.com/u/8823941?v=4)](https://github.com/verbi "verbi (1 commits)")

---

Tags

active-recorderpgiiodooodoo-rpcyii2yii2-debug

### Embed Badge

![Health badge](/badges/panlatent-yii2-odoo/health.svg)

```
[![Health](https://phpackages.com/badges/panlatent-yii2-odoo/health.svg)](https://phpackages.com/packages/panlatent-yii2-odoo)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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