tochka-developers/laravel-oci8
| Install | |
|---|---|
composer require tochka-developers/laravel-oci8 |
|
| Latest Version: | v5.4.15 |
| PHP: | >=5.6.4 |
| License: | MIT |
| Last Updated: | Feb 26, 2018 |
| Links: | GitHub · Packagist |
Oracle DB driver for Laravel 5.4 via OCI8
Laravel-OCI8
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.
Documentations
- You will find user friendly and updated documentation here: Laravel-OCI8 Docs
- You will find updated API documentation here: Laravel-OCI8 API
Quick Installation [Laravel 5.4]
$ composer require yajra/laravel-oci8:"5.4.*"
Service Provider
Once Composer has installed or updated your packages you need to register Laravel-OCI8. Open up config/app.php and find the providers key and add:
Yajra\Oci8\Oci8ServiceProvider::class,
Important: Since v4.0, the package will now use
Yajra\Oci8(capital Y) namespace fromyajra\Oci8to follow the name standard for vendor name.
Configuration (OPTIONAL)
Finally you can optionally publish a configuration file by running the following Artisan command.
If config file is not publish, the package will automatically use what is declared on your .env file database configuration.
$ php artisan vendor:publish --tag=oracle
This will copy the configuration file to config/oracle.php.
Note: For Laravel Lumen configuration, make sure you have a
config/database.phpfile on your project and append the configuration below:
'oracle' => [
'driver' => 'oracle',
'tns' => env('DB_TNS', ''),
'host' => env('DB_HOST', ''),
'port' => env('DB_PORT', '1521'),
'database' => env('DB_DATABASE', ''),
'username' => env('DB_USERNAME', ''),
'password' => env('DB_PASSWORD', ''),
'charset' => env('DB_CHARSET', 'AL32UTF8'),
'prefix' => env('DB_PREFIX', ''),
'prefix_schema' => env('DB_SCHEMA_PREFIX', ''),
],
And run your laravel installation...
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Oracle DB driver for Laravel 4|5 via OCI8 and change reserverdwords
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v5.4.15 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.14 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.13 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.12 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.11 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.10 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.9 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.8 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.7 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.6 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.5 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.4 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.3 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.2 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.1 | >=5.6.4 | 5.4.* | MIT | |
| v5.4.0 | >=5.6.4 | 5.4.* | MIT | |
| v5.3.9 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.8 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.7 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.6 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.5 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.4 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.3 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.2 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.1 | >=5.6.4 | 5.3.* | MIT | |
| v5.3.0 | >=5.6.4 | 5.3.* | MIT | |
| v5.2.13 | >=5.5.9 | 5.2.* | MIT | |
| v5.2.12 | >=5.5.9 | 5.2.* | MIT | |
| v5.2.11 | >=5.5.9 | 5.2.* | MIT | |
| v5.2.10 | >=5.5.9 | 5.2.* | MIT |
Showing the latest 30 of 184. See every release on Packagist
Pre-releases (3)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v4.0.0-RC1.1 | >=5.5.9 | 5.1.*| | MIT | |
| v4.0.0-RC1 | >=5.5.9 | 5.1.*| | MIT | |
| v2.0.0.beta | >=5.4.0 | dev-master | MIT |