PHPackages                             pecl/pdo\_oci - 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. pecl/pdo\_oci

ActivePhp-ext[Database &amp; ORM](/categories/database)

pecl/pdo\_oci
=============

Use the PDO\_OCI extension to access Oracle Database via PHP Data Objects (PDO) APIs

v1.2.0(4mo ago)57112[3 PRs](https://github.com/php/pecl-database-pdo_oci/pulls)PHP-3.01PHPPHP &gt;=8.3.0CI passing

Since Jan 7Pushed 1mo ago11 watchersCompare

[ Source](https://github.com/php/pecl-database-pdo_oci)[ Packagist](https://packagist.org/packages/pecl/pdo_oci)[ Docs](https://pecl.php.net/package/PDO_OCI)[ RSS](/packages/pecl-pdo-oci/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

The PDO\_OCI Extension
======================

[](#the-pdo_oci-extension)

Use the PDO\_OCI extension to access Oracle Database via PHP Data Objects (PDO) APIs.

This repository is for PHP 8.3+ as it [was decided to unbundle](https://wiki.php.net/rfc/unbundle_imap_pspell_oci8)PDO OCI / OCI8 extension from the PHP source code.

Documentation is at [https://www.php.net/pdo\_oci](https://www.php.net/pdo_oci)

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

[](#installation)

**PECL**

The PDO\_OCI extension is available in the PECL repository [here](https://pecl.php.net/package/PDO_OCI).

Use `pecl install pdo_oci` to install for PHP 8.3 and newer versions.

For older PHP versions, use php\_pdo\_oci.dll from the Windows PHP release bundle, or build from the PHP source code by running:

```
phpize
./configure --with-pdo_oci=shared,instantclient,/path/to/instant/client/sdk
make install

```

To complete installation, add "extension=pdo\_oci.so" or "extension=php\_pdo\_oci.dll" (Windows) to your php.ini file.

**PIE**

The PHP OCI8 extension is also available in the PIE Packagist repository [here](https://packagist.org/packages/pecl/pdo_oci).

To install from PIE, use the [pie](https://github.com/php/pie/releases) utility and run:

```
pie install pecl/pdo_oci

```

Tests
-----

[](#tests)

To run the tests, see [tests/README.md](tests/README.md).

Additional Requirements
-----------------------

[](#additional-requirements)

The PDO\_OCI extension can be linked with Oracle Client libraries from Oracle Database 11.2 or later. These libraries are found in your database installation, or in the free Oracle Instant Client packages from .

Install the 'Basic' or 'Basic Light' Instant Client package for running applications with this extension. If building from source, then also install the Instant Client SDK package.

Oracle's standard cross-version connectivity applies. For example, PHP PDO\_OCI linked with Instant Client 19c can connect to Oracle Database 11.2 onward. See Oracle's note "Oracle Client / Server Interoperability Support" (ID 207303.1) for details.

PHP is available from .

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance84

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.1% 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

Unknown

Total

1

Last Release

123d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/370a4378ba1e85c1182cb1aafc0b1f75729f5a55949398fef0829f3491362fb2?d=identicon)[sharadraju](/maintainers/sharadraju)

---

Top Contributors

[![sharadraju](https://avatars.githubusercontent.com/u/86588332?v=4)](https://github.com/sharadraju "sharadraju (37 commits)")[![cjbj](https://avatars.githubusercontent.com/u/200778?v=4)](https://github.com/cjbj "cjbj (11 commits)")[![mvorisek](https://avatars.githubusercontent.com/u/2228672?v=4)](https://github.com/mvorisek "mvorisek (10 commits)")[![shivammathur](https://avatars.githubusercontent.com/u/1571086?v=4)](https://github.com/shivammathur "shivammathur (6 commits)")[![ndossche](https://avatars.githubusercontent.com/u/7771979?v=4)](https://github.com/ndossche "ndossche (2 commits)")[![derickr](https://avatars.githubusercontent.com/u/208074?v=4)](https://github.com/derickr "derickr (2 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (1 commits)")[![gido](https://avatars.githubusercontent.com/u/101859?v=4)](https://github.com/gido "gido (1 commits)")[![wantedxnn](https://avatars.githubusercontent.com/u/1394713?v=4)](https://github.com/wantedxnn "wantedxnn (1 commits)")

---

Tags

databasepdooraclepdo\_oci

### Embed Badge

![Health badge](/badges/pecl-pdo-oci/health.svg)

```
[![Health](https://phpackages.com/badges/pecl-pdo-oci/health.svg)](https://phpackages.com/packages/pecl-pdo-oci)
```

###  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)[nette/database

💾 Nette Database: layer with a familiar PDO-like API but much more powerful. Building queries, advanced joins, drivers for MySQL, PostgreSQL, SQLite, MS SQL Server and Oracle.

5656.7M231](/packages/nette-database)[dibi/dibi

Dibi is Database Abstraction Library for PHP

5013.8M120](/packages/dibi-dibi)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[lichtner/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921274.8k6](/packages/lichtner-fluentpdo)[fpdo/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

921244.9k7](/packages/fpdo-fluentpdo)

PHPackages © 2026

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