PHPackages                             ioigoume/cakephp5-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. ioigoume/cakephp5-oracle-driver

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

ioigoume/cakephp5-oracle-driver
===============================

CakePHP 5 Driver for Oracle Database

v1.0.5(6mo ago)0196MITPHPPHP &gt;=8.1

Since Oct 16Pushed 6mo agoCompare

[ Source](https://github.com/ioigoume/cakephp5-oracle-driver)[ Packagist](https://packagist.org/packages/ioigoume/cakephp5-oracle-driver)[ RSS](/packages/ioigoume-cakephp5-oracle-driver/feed)WikiDiscussions main Synced 1mo ago

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

CakePHP 5 Driver for Oracle Database
====================================

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

[![Latest Stable Version](https://camo.githubusercontent.com/d1f061604864d2f423657ddcb357aad3776c2578ff6ec0fcba7e9d1ed965d2f5/687474703a2f2f706f7365722e707567782e6f72672f696f69676f756d652f63616b65706870352d6f7261636c652d6472697665722f76)](https://packagist.org/packages/ioigoume/cakephp5-oracle-driver)[![Total Downloads](https://camo.githubusercontent.com/7d7455ba55732b49a198fb3b2628724ac9ae6091a4dfe7b7b897e93fad148739/687474703a2f2f706f7365722e707567782e6f72672f696f69676f756d652f63616b65706870352d6f7261636c652d6472697665722f646f776e6c6f616473)](https://packagist.org/packages/ioigoume/cakephp5-oracle-driver)[![PHP Version Require](https://camo.githubusercontent.com/eb815a28675b1fd7630362a575e5e0b8467d8787430ca7053d5cbae1b0ac77ec/687474703a2f2f706f7365722e707567782e6f72672f696f69676f756d652f63616b65706870352d6f7261636c652d6472697665722f726571756972652f706870)](https://packagist.org/packages/ioigoume/cakephp5-oracle-driver)

Installation
------------

[](#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 ioigoume/cakephp5-oracle-driver

```

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

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

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

```

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

[](#requirements)

- CakePHP 5.2+
- 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:

```
