Oracle DB driver for Laravel 4|5 via OCI8

Installs: 12 610

Dependents: 0

Stars: 96

Watchers: 16

Forks: 12

Open Issues: 1

Language: PHP



Build Status Total Downloads Latest Stable Version Latest Unstable Version Scrutinizer Code Quality License

Laravel-OCI8 is an Oracle Database Driver package for Laravel. Laravel-OCI8 is an extension of Illuminate/Database that uses OCI8 extension to communicate with Oracle. Thanks to @taylorotwell.


Quick Installation

composer require yajra/laravel-oci8:~2.0

Service Provider



Then setup a valid database configuration using the driver oracle. Configure your connection as usual with:

Note: For Laravel Lumen configuration, make sure you have a config/database.php file on your project and append the configuration below:

'oracle' => array(
    'driver' => 'oracle',
    'host' => 'oracle.host',
    'port' => '1521',
    'database' => 'xe',
    'username' => 'hr',
    'password' => 'hr',
    'charset' => 'AL32UTF8',
    'prefix' => '',

And run your laravel installation...


Licensed under the MIT License.

Buy me a beer

Click here to lend your support to: Laravel-OCI8 and make a donation at pledgie.com !