PHPackages                             vincentshiqi/laravel-p-oci8 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. vincentshiqi/laravel-p-oci8

ActiveLibrary[Database &amp; ORM](/categories/database)

vincentshiqi/laravel-p-oci8
===========================

Oracle DB driver for Laravel 4|5 via OCI8 and change reserverdwords

v1.0.3(8y ago)029MITPHPPHP &gt;=5.6.4

Since May 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/vincentshiqi/laravel-p-oci8)[ Packagist](https://packagist.org/packages/vincentshiqi/laravel-p-oci8)[ RSS](/packages/vincentshiqi-laravel-p-oci8/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Oracle DB driver for Laravel 4|5 via OCI8
=========================================

[](#oracle-db-driver-for-laravel-45-via-oci8)

Laravel-p-OCI8
--------------

[](#laravel-p-oci8)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4643b2aa5c29c4080ea9b2d57c354a0ca6d39ccc00807734607405adbf693759/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f76696e63656e7473686971692f6c61726176656c2d702d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vincentshiqi/laravel-p-oci8)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/a8555309fd976c4bc23a8e16774b02440624504895fc91e3f95e3cd1b43ff3d6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76696e63656e7473686971692f6c61726176656c2d702d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vincentshiqi/laravel-p-oci8)

Laravel-OCI8 is an Oracle Database Driver package for [Laravel](http://laravel.com/). Laravel-OCI8 is an extension of [Illuminate/Database](https://github.com/illuminate/database) that uses [OCI8](http://php.net/oci8) extension to communicate with Oracle. Thanks to @taylorotwell.

Documentations
--------------

[](#documentations)

Quick Installation \[Laravel 5.4\]
----------------------------------

[](#quick-installation-laravel-54)

```
$ composer require vincent/laravel-oci8:"5.4.*"

```

Quick Installation \[Laravel 5.3\]
----------------------------------

[](#quick-installation-laravel-53)

```
$ composer require vincent/laravel-oci8:"5.3.*"

```

Quick Installation \[Laravel 5.2\]
----------------------------------

[](#quick-installation-laravel-52)

```
$ composer require vincent/laravel-oci8:"5.2.*"

```

Quick Installation \[Laravel 5.1\]
----------------------------------

[](#quick-installation-laravel-51)

```
$ composer require vincent/laravel-oci8:"5.1.*"

```

Service Provider
----------------

[](#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:

```
Vincent\Oci8\Oci8ServiceProvider::class,
```

> Important: Since v4.0, the package will now use `Vincent\Oci8` (capital Y) namespace from `Vincent\Oci8` to follow the name standard for vendor name.

Configuration (OPTIONAL)
------------------------

[](#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 configuartion.

```
$ php artisan vendor:publish --tag=oracle

```

This will copy the configuration file to `config/oracle.php`.

> Note: For [Laravel Lumen configuration](http://lumen.laravel.com/docs/configuration#configuration-files), make sure you have a `config/database.php` file 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...

\[Laravel 5.2++\] Oracle User Provider
--------------------------------------

[](#laravel-52-oracle-user-provider)

When using oracle, we may encounter a problem on authentication because oracle queries are case sensitive by default. By using this oracle user provider, we will now be able to avoid user issues when logging in and doing a forgot password failure because of case sensitive search.

To use, just update `auth.php` config and set the driver to `oracle`

```
'providers' => [
	'users' => [
		'driver' => 'oracle',
		'model' => App\User::class,
	],
]
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~54 days

Total

4

Last Release

3136d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/71d1d594c2a9a85c2f614d5666e930e7eff0f1b8d049d465469baa09036b4e8c?d=identicon)[vincentshiqi](/maintainers/vincentshiqi)

---

Top Contributors

[![vincentshiqi](https://avatars.githubusercontent.com/u/3134893?v=4)](https://github.com/vincentshiqi "vincentshiqi (1 commits)")

---

Tags

laraveloracleoci8laravel5laravel4pdo\_ocivincent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vincentshiqi-laravel-p-oci8/health.svg)

```
[![Health](https://phpackages.com/badges/vincentshiqi-laravel-p-oci8/health.svg)](https://phpackages.com/packages/vincentshiqi-laravel-p-oci8)
```

###  Alternatives

[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8703.0M17](/packages/yajra-laravel-oci8)[rutorika/sortable

Adds sortable behavior and ordering to Laravel Eloquent models. Grouping and many to many supported.

299992.5k14](/packages/rutorika-sortable)[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[sjdaws/vocal

Recursive functionality for Eloquent in Laravel 4 and 5

4315.2k1](/packages/sjdaws-vocal)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
