PHPackages                             jdominguezpaz/cakephp-oracle-driver - 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. jdominguezpaz/cakephp-oracle-driver

ActiveCakephp-plugin[Database &amp; ORM](/categories/database)

jdominguezpaz/cakephp-oracle-driver
===================================

CakePHP 3 Driver for Oracle Database (jdominguezpaz fork)

5.0.0(6y ago)02MITPHPPHP &gt;=7.3

Since Mar 10Pushed 3mo agoCompare

[ Source](https://github.com/jdominguezpaz/cakephp-oracle-driver)[ Packagist](https://packagist.org/packages/jdominguezpaz/cakephp-oracle-driver)[ Docs](https://github.com/cakedc/cakephp-oracle-driver)[ RSS](/packages/jdominguezpaz-cakephp-oracle-driver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

CakePHP 4 Driver for Oracle Database
====================================

[](#cakephp-4-driver-for-oracle-database)

[![Downloads](https://camo.githubusercontent.com/6080dde29a178ac545d73f55637a6fd584d031d0edfd7970b797b42a684fd75d/68747470733a2f2f706f7365722e707567782e6f72672f63616b6564632f63616b657068702d6f7261636c652d6472697665722f642f746f74616c2e706e67)](https://packagist.org/packages/cakedc/cakephp-oracle-driver)[![Latest Version](https://camo.githubusercontent.com/22fe8eaa58df895d56d1478c046bde9c48e7bf21bc742def89c45a15dafb1bbe/68747470733a2f2f706f7365722e707567782e6f72672f63616b6564632f63616b657068702d6f7261636c652d6472697665722f762f737461626c652e706e67)](https://packagist.org/packages/cakedc/cakephp-oracle-driver)

Versions and branches
---------------------

[](#versions-and-branches)

CakePHPCakeDC Oracle Driver PluginTagNotes4.0[5.x](https://github.com/CakeDC/cakephp-oracle-driver/tree/5.x)5.0.0stable^3.8 &lt;4.0[4.x](https://github.com/CakeDC/cakephp-oracle-driver/tree/4.x)4.0.0stable^3.7[3.x](https://github.com/CakeDC/cakephp-oracle-driver/tree/3.x)3.0.0stableInstallation
------------

[](#installation)

You can install this plugin into your CakePHP application using [Composer](http://getcomposer.org).

The recommended way to install Composer packages is:

```
composer require cakedc/cakephp-oracle-driver

```

Ensure the Oracle Plugin is loaded in your src/Application.php file

```
    /**
     * {@inheritdoc}
     */
    public function bootstrap()
    {
        parent::bootstrap();

        $this->addPlugin(\CakeDC\OracleDriver\Plugin::class, ['bootstrap' => true]);
    }

```

Requirements
------------

[](#requirements)

- CakePHP 4.0+
- an Oracle PHP extension
    - OCI8 (PHP extension built with PHP)
    - PDO\_OCI (PHP extension built with PHP)

### Notes on extensions

[](#notes-on-extensions)

For full support, it is recommended to run the `OCI8` extension if possible.

While `PDO_OCI` might be simpler to set up, there are some limitations (e.g. it doesn't support the stored code layer, so only the SQL layer will be available.)

Datasource configuration
------------------------

[](#datasource-configuration)

Here is an example datasource configuration:

```
