PHPackages                             titanium\_iridium/yii2-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. titanium\_iridium/yii2-oci8

ActiveYii2-extension[Database &amp; ORM](/categories/database)

titanium\_iridium/yii2-oci8
===========================

Oci8 Driver for Yii2 (created by Apa Oww, forked/modified by bogdik and titanium\_iridium)

1.2.7(7y ago)049BSD-3-ClausePHP

Since Jun 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/titanium-iridium/yii2-oci8)[ Packagist](https://packagist.org/packages/titanium_iridium/yii2-oci8)[ RSS](/packages/titanium-iridium-yii2-oci8/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (6)Used By (0)

Yii2 Oracle Oci8 Driver
=======================

[](#yii2-oracle-oci8-driver)

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

[](#installation)

### Install With Composer

[](#install-with-composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require titanium_iridium/yii2-oci8 "dev-master"

```

or add

```
"titanium_iridium/yii2-oci8": "dev-master"

```

to the require section of your `composer.json` file.

### OR Install From Archive

[](#or-install-from-archive)

You can also install from archive. Add aliase on config file to point alias to the folder

```
return [
    ...
    'aliases' => [
        '@titanium_iridium/oci8' => 'path/to/your/extracted',
        ...
    ]
];

```

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration on main-local.php as follows :

```
return [
	'components' => [
		....
		'db' => [
                    'class' => 'titanium_iridium\oci8\Oci8DbConnection',
                    'dsn' => 'oci8:dbname=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521))(CONNECT_DATA=(SID=xe)));charset=AL32UTF8;',
                    'username' => 'yourdatabaseschemaname',
                    'password' => 'databasepassword',
                    'attributes' => []
                ],
	],
];

```

Custom User's Table Migration
-----------------------------

[](#custom-users-table-migration)

You may want to create user's table using migration command. Instead of using yii default migrate (yii migrate), specify the custom migrationPath to point to custom user's table migration to avoid oracle error ('ORA-00907: missing right parenthesis). Note: you have to manually add user's table sequence eg. user\_seq on you oracle db and primary key trigger using sql developer or toad.

```
yii migrate --migrationPath=@titanium_iridium/oci8/migrations

```

You can refer the sample application using yii2 advance template here titanium\_iridium/yii2-php7-oci8 [https://github.com/titanium\_iridium/yii2-php7-oci8](https://github.com/titanium_iridium/yii2-php7-oci8)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~88 days

Total

5

Last Release

2904d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6576123?v=4)[titanium-iridium](/maintainers/titanium-iridium)[@titanium-iridium](https://github.com/titanium-iridium)

---

Top Contributors

[![apaoww](https://avatars.githubusercontent.com/u/4974699?v=4)](https://github.com/apaoww "apaoww (14 commits)")[![alvinux](https://avatars.githubusercontent.com/u/5440699?v=4)](https://github.com/alvinux "alvinux (6 commits)")

---

Tags

oci8yii

### Embed Badge

![Health badge](/badges/titanium-iridium-yii2-oci8/health.svg)

```
[![Health](https://phpackages.com/badges/titanium-iridium-yii2-oci8/health.svg)](https://phpackages.com/packages/titanium-iridium-yii2-oci8)
```

###  Alternatives

[doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database schema introspection and management.

9.7k578.4M5.6k](/packages/doctrine-dbal)[sjaakp/yii2-sortable-behavior

Sort ActiveRecords and related records in Yii2.

36144.7k](/packages/sjaakp-yii2-sortable-behavior)[apaoww/yii2-oci8

Oci8 PDO userspace driver for Yii2

1117.9k](/packages/apaoww-yii2-oci8)[sjaakp/yii2-spatial

Yii2 ActiveRecord supporting MySQL spatial data

1873.8k1](/packages/sjaakp-yii2-spatial)[nanson/yii2-postgis

Yii2-extension to work with postgis data

1851.6k](/packages/nanson-yii2-postgis)[casbin/yii-permission

Use Casbin in Yii2 PHP Framework, Casbin is a powerful and efficient open-source access control library.

468.0k](/packages/casbin-yii-permission)

PHPackages © 2026

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