Skip to content

erdemozveren/oquent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Oquent

Orientdb Eloquent-like driver for Laravel 5 using the binary protocol PhpOrient. (Not Ready For Production)

What is Oquent ?

Oquent goal is lets you use OrientDB as usual Eloquent.It's on development and should not be used in production for now.

Requirements

  • Laravel 5.5 or above
  • Orientdb Server 2.2

Features

  • You can use Larvel's Authentication
  • CRUD (Create, read, update, delete)
  • Paginate Model (need to be tested,but working for now)
  • Fetchplan (See OrientDb Fetching Strategies Docs)
  • Edges / Relations

Database Configuration

Open config/database.php make orientdb your default connection:

'default' => 'orientdb',

And optionally, if you want to use orientdb as a secondary connection

'default_nosql' => 'orientdb',

Add the connection defaults:

'connections' => [
    'orientdb' => [
            'driver'=> 'orientdb',
            'host' => '192.168.1.5', // Host 
            'port' => 2424, // We Use Binary so do not change it if not necessary 
            'database' => 'DatabaseName',
            'username' => 'root',
            'password' => 'passwordforuser'
    ],
]

About

Orientdb Eloquent-like driver for Laravel 5

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages