Orientdb Eloquent-like driver for Laravel 5 using the binary protocol PhpOrient. (Not Ready For Production)
Oquent goal is lets you use OrientDB as usual Eloquent.It's on development and should not be used in production for now.
- Laravel 5.5 or above
- Orientdb Server 2.2
- 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
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'
],
]