2017 © Pedro PelĂĄez
 

library oquent

OrientDb Eloquent-like Driver for Laravel

image

erdemozveren/oquent

OrientDb Eloquent-like Driver for Laravel

  • Sunday, February 11, 2018
  • by erdemozveren
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Oquent

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

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., (*2)

Requirements

  • Laravel 5.5 or above
  • Orientdb Server 2.2

Features

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

Database Configuration

Open config/database.php make orientdb your default connection:, (*3)

'default' => 'orientdb',

And optionally, if you want to use orientdb as a secondary connection, (*4)

'default_nosql' => 'orientdb',

Add the connection defaults:, (*5)

'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'
    ],
]

The Versions

11/02 2018

dev-master

9999999-dev

OrientDb Eloquent-like Driver for Laravel

  Sources   Download

MIT

The Requires

 

by Erdem Özveren