Skip to content

loutrux/yii2-orientdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrientDB Extension for Yii 2


This extension provides the OrientDB integration for the Yii framework 2.0.

For license information check the LICENSE-file.

Provide a OrientDB client connection from [Ostico PhpOrient extension]

Installation

This extension requires OrientDB server version 2.0 or higher.

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist loutrux/yii2-orientdb

or add

"loutrux/yii2-orientdb": "~1.0.0"

to the require section of your composer.json.

Configuration

To use this extension, simply add the following code in your application configuration:

return [
    //....
    'components' => [
        'orientdb' => [
            'class' => '\loutrux\orientdb\Connection',
            'hostname'  => 'localhost',
            'port'      => 2424,
            'username'  => 'root',
            'password'  => 'root_pass',
            'dbname'    => 'mydb'
        ],
    ],
];

Usage

This component is a OrientDB client helper

\Yii::$app->orientdb->client;

About

No description or website provided.

Topics

Resources

License

BSD-3-Clause, Unknown licenses found

Licenses found

BSD-3-Clause
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Languages