PHPackages                             taq/pdooci - 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. taq/pdooci

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

taq/pdooci
==========

Replacement for the PHP PDO OCI class

1.0.8(5y ago)67144.0k↓25.9%311GPL-2.0-or-laterPHPPHP &gt;=5.3.0

Since Jul 8Pushed 3y ago7 watchersCompare

[ Source](https://github.com/taq/pdooci)[ Packagist](https://packagist.org/packages/taq/pdooci)[ Docs](http://github.com/taq/pdooci)[ RSS](/packages/taq-pdooci/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (9)Used By (1)

PDOCI
=====

[](#pdoci)

⚠️ **WARNING** This software is [abandonware](https://en.wikipedia.org/wiki/Abandonware). As the creator and maintainer, I don't even use PHP or Oracle *for years*, so, I can't support it anymore. It should work ok for PHP untill version 7, but seems that with 8.1 there are some alerts. Feel free to fork it and keep it going.Wrapping on PHP OCI functions to simulate a PDO object, using just pure PHP and the oci\_\* functions.

Let's face it. Installing PHP, PDO, Oracle drivers and PDO OCI is not a pleasant task. Is more pleasant to insert bamboo sticks under your fingernails than make all the voodoo needed to accomplish that task. And there are two big problems with that:

1. If you install `pdo_oci` with `pecl` you'll get a version from 2005 ([http://pecl.php.net/package/PDO\_OCI](http://pecl.php.net/package/PDO_OCI)). Even Christian Bale is now far from the things from 2005, and wow, he had a cool suit and a very nice car. And all came in black.
2. If you follow the official docs, you'll need to compile PHP and still get an *experimental* extension (). Come on. We can't (yeah, we know how to do it!) compile PHP on every server we need and just for an experimental feature?

That's why I made `PDOOCI`.

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

[](#installation)

First install the Oracle drivers (I like the instant client versions) and the `oci8` package (with `pecl`, this one seems to be updated often).

### With Composer

[](#with-composer)

```
$ composer require taq/pdooci

```

```
{
    "require": {
        "taq/pdooci": "^1.0"
    }
}
```

```
