PHPackages                             tochka-developers/laravel-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. tochka-developers/laravel-oci8

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

tochka-developers/laravel-oci8
==============================

Oracle DB driver for Laravel 4|5 via OCI8

v5.4.15(8y ago)018MITPHPPHP &gt;=5.6.4

Since Jan 15Pushed 8y ago2 watchersCompare

[ Source](https://github.com/tochka-developers/laravel-oci8)[ Packagist](https://packagist.org/packages/tochka-developers/laravel-oci8)[ RSS](/packages/tochka-developers-laravel-oci8/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (6)Versions (188)Used By (0)

Oracle DB driver for Laravel 5.4 via OCI8
=========================================

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

Laravel-OCI8
------------

[](#laravel-oci8)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4626c28fa3a15a090a6446363dae993a850d84b0594fc48779e4084f75ee7960/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f63686b612d646576656c6f706572732f6c61726176656c2d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tochka-developers/laravel-oci8)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e5b9fdea4178808535abdd8a8813509f3f1c3d9a74e6c669bc7fc962ce54f739/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f79616a72612f6c61726176656c2d6f6369382f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/yajra/laravel-oci8)[![Coverage Status](https://camo.githubusercontent.com/5acea5d09bf615ad5ebd1509a82abe686701c36893cfc1d080ca7c22d88e6f71/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f79616a72612f6c61726176656c2d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/yajra/laravel-oci8/code-structure)[![Quality Score](https://camo.githubusercontent.com/7b75f79b2387cf4c4fa7921cc9d8d7ebeef4e426bce58cfcf0056e2fc5def4c8/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f79616a72612f6c61726176656c2d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/yajra/laravel-oci8)[![Total Downloads](https://camo.githubusercontent.com/1172ac0afa2339cad035971844203735a4e15e1bf7172efd3e033268ed3d495b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f79616a72612f6c61726176656c2d6f6369382e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/yajra/laravel-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)

- You will find user friendly and updated documentation here: [Laravel-OCI8 Docs](https://yajrabox.com/docs/laravel-oci8)
- You will find updated API documentation here: [Laravel-OCI8 API](http://yajra.github.io/laravel-oci8/api/)

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

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

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

```

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:

```
Yajra\Oci8\Oci8ServiceProvider::class,
```

> Important: Since v4.0, the package will now use `Yajra\Oci8` (capital Y) namespace from `yajra\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 configuration.

```
$ 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...

Credits
-------

[](#credits)

- [Arjay Angeles](https://github.com/yajra)
- [Jimmy Felder](https://github.com/jfelder/Laravel-OracleDB)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor1

Top contributor holds 89.8% 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 ~8 days

Recently: every ~62 days

Total

187

Last Release

2997d ago

Major Versions

v3.1.1 → v4.2.22016-01-13

v2.4.9 → v3.1.32016-01-19

v3.1.3 → v4.2.32016-01-19

v2.4.10 → v4.2.42016-01-21

v4.2.6 → v5.1.02016-03-08

PHP version history (5 changes)0.1.0PHP &gt;=5.3.0

v2.0.0.betaPHP &gt;=5.4.0

v2.0.0PHP &gt;=5.4

v3.0.0PHP &gt;=5.5.9

v5.3.0PHP &gt;=5.6.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/d5ec14fdcb7d670c749bdfe547cdcae4dd77a1eb173f01c6787217c8ef90b1d5?d=identicon)[tochka-developers](/maintainers/tochka-developers)

![](https://www.gravatar.com/avatar/dc33cf2a905842e2b7b452bb04d75ba24943d1c22fcffa8aa393d04c0ba20f3c?d=identicon)[darkdarin](/maintainers/darkdarin)

---

Top Contributors

[![yajra](https://avatars.githubusercontent.com/u/2687997?v=4)](https://github.com/yajra "yajra (449 commits)")[![forgandenny](https://avatars.githubusercontent.com/u/2554234?v=4)](https://github.com/forgandenny "forgandenny (10 commits)")[![mfrancoisbbs](https://avatars.githubusercontent.com/u/133215273?v=4)](https://github.com/mfrancoisbbs "mfrancoisbbs (9 commits)")[![ChaosPower](https://avatars.githubusercontent.com/u/260845?v=4)](https://github.com/ChaosPower "ChaosPower (6 commits)")[![jfelder](https://avatars.githubusercontent.com/u/4504343?v=4)](https://github.com/jfelder "jfelder (4 commits)")[![mstaack](https://avatars.githubusercontent.com/u/10169509?v=4)](https://github.com/mstaack "mstaack (3 commits)")[![zulrang](https://avatars.githubusercontent.com/u/1043189?v=4)](https://github.com/zulrang "zulrang (2 commits)")[![Tylerian](https://avatars.githubusercontent.com/u/1430805?v=4)](https://github.com/Tylerian "Tylerian (2 commits)")[![ardani](https://avatars.githubusercontent.com/u/2499777?v=4)](https://github.com/ardani "ardani (2 commits)")[![johnrcui](https://avatars.githubusercontent.com/u/6743129?v=4)](https://github.com/johnrcui "johnrcui (2 commits)")[![jf-m](https://avatars.githubusercontent.com/u/9339799?v=4)](https://github.com/jf-m "jf-m (2 commits)")[![filipegar](https://avatars.githubusercontent.com/u/9282579?v=4)](https://github.com/filipegar "filipegar (2 commits)")[![joaorobertopb](https://avatars.githubusercontent.com/u/6556083?v=4)](https://github.com/joaorobertopb "joaorobertopb (1 commits)")[![fabiothomaz](https://avatars.githubusercontent.com/u/795025?v=4)](https://github.com/fabiothomaz "fabiothomaz (1 commits)")[![felippeduarte](https://avatars.githubusercontent.com/u/8507498?v=4)](https://github.com/felippeduarte "felippeduarte (1 commits)")[![abdgad](https://avatars.githubusercontent.com/u/24955909?v=4)](https://github.com/abdgad "abdgad (1 commits)")[![liberostelios](https://avatars.githubusercontent.com/u/1896327?v=4)](https://github.com/liberostelios "liberostelios (1 commits)")[![pawel-damasiewicz](https://avatars.githubusercontent.com/u/489857?v=4)](https://github.com/pawel-damasiewicz "pawel-damasiewicz (1 commits)")[![XavRsl](https://avatars.githubusercontent.com/u/1185840?v=4)](https://github.com/XavRsl "XavRsl (1 commits)")

---

Tags

laraveloracleoci8laravel5laravel4pdo\_oci

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tochka-developers-laravel-oci8/health.svg)

```
[![Health](https://phpackages.com/badges/tochka-developers-laravel-oci8/health.svg)](https://phpackages.com/packages/tochka-developers-laravel-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)
