PHPackages                             haiflive/orientdb-yii2-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. haiflive/orientdb-yii2-connector

ActiveLibrary

haiflive/orientdb-yii2-connector
================================

Yii2 connector to orientDB, php7, query builder, command builder, ActiveRecord relations

v0.3.3-RC(8y ago)9933[3 issues](https://github.com/haiflive/orientdb-yii2-connector/issues)MITPHP

Since Feb 17Pushed 8y ago7 watchersCompare

[ Source](https://github.com/haiflive/orientdb-yii2-connector)[ Packagist](https://packagist.org/packages/haiflive/orientdb-yii2-connector)[ RSS](/packages/haiflive-orientdb-yii2-connector/feed)WikiDiscussions master Synced today

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

orientdb-yii2-connector
=======================

[](#orientdb-yii2-connector)

Yii2 connector to orientDB, php7 Contains:

- Connection
- Quota data
- Command builder
- Query builder
- ActiveRecord
- EMBEDDED and EMBEDDEDLIST relations
- LINK and LINKLIST relations
- RESTfull
- gii support(generate ActiveRecord)

###### Warning:

[](#warning)

> OrientDB PHP binary protocol has no PDO or Quota methods, this library can bee unsafe. If you found vulnerability in quota data methods, please create Issues

#### Requires

[](#requires)

- PHP Version &gt;= 5.4 ( Socket extension enabled )
- Orientdb version 2.2.14 or later.

composer install
================

[](#composer-install)

```
composer require "haiflive/orientdb-yii2-connector"
```

Usage
=====

[](#usage)

web.php:
--------

[](#webphp)

```
...
'db' => require(__DIR__ . '/db.php'),
'dborient' => require(__DIR__ . '/dborient.php'), \\
