PHPackages                             develpup/doctrine-oci8-extended - 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. develpup/doctrine-oci8-extended

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

develpup/doctrine-oci8-extended
===============================

Doctrine's OCI8 driver with cursor support.

28.4k2PHP

Since May 9Pushed 5y ago3 watchersCompare

[ Source](https://github.com/jasonhofer/doctrine-oci8-extended)[ Packagist](https://packagist.org/packages/develpup/doctrine-oci8-extended)[ RSS](/packages/develpup-doctrine-oci8-extended/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (0)

Doctrine OCI8 Extended
======================

[](#doctrine-oci8-extended)

The Doctrine OCI8 driver with cursor support.

Usage
-----

[](#usage)

```
$config = new Doctrine\DBAL\Configuration();
$params = [
    'dbname'      => 'database_sid',
    'user'        => 'database_username',
    'password'    => 'database_password',
    'host'        => 'database.host',
    'port'        => 1521,
    'persistent'  => true,
    'driverClass' => 'Doctrine\DBAL\Driver\OCI8Ext\Driver',
];
$conn = Doctrine\DBAL\DriverManager::getConnection($params, $config);

$stmt = $conn->prepare('BEGIN MY_STORED_PROCEDURE(:user_id, :cursor); END;');
$stmt->bindValue('user_id', 42);
$stmt->bindParam('cursor', $cursor, \PDO::PARAM_STMT);
$stmt->execute();

/** @var $cursor Doctrine\DBAL\Driver\OCI8Ext\OCI8Cursor */
$cursor->execute();

while ($row = $cursor->fetch()) {
    print_r($row);
    echo PHP_EOL;
}

$cursor->closeCursor();
$stmt->closeCursor();
```

Types
-----

[](#types)

For `OCI8` types that are not represented by `PDO::PARAM_` constants, pass `OCI8::PARAM_` constants as the `type` argument of `bindValue()` and `bindParam()`.

Cursors
-------

[](#cursors)

Cursors can be specified as `PDO::PARAM_STMT`, `OCI8::PARAM_CURSOR`, or just `'cursor'`. Only the `bindParam()` method can be used to bind a cursor to a statement.

Sub-Cursors
-----------

[](#sub-cursors)

Cursor resources returned in a column of a result set are automatically fetched. You can change this behavior by passing in one of these *fetch mode* flags:

- `OCI8::RETURN_RESOURCES` to return the raw PHP resources.
- `OCI8::RETURN_CURSORS` to return the `OCI8Cursor` objects that have not yet been executed.

```
use Doctrine\DBAL\Driver\OCI8Ext\OCI8;

$rows = $stmt->fetchAll(\PDO::FETCH_ASSOC+OCI8::RETURN_CURSORS);
$rows = $stmt->fetchAll(\PDO::FETCH_BOTH+OCI8::RETURN_RESOURCES);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/a242ff4d50f055e4deca3ea8d5cec2ecf420c9640e94a9362f22bfdbb043cca6?d=identicon)[jasonhofer](/maintainers/jasonhofer)

---

Top Contributors

[![jasonhofer](https://avatars.githubusercontent.com/u/974242?v=4)](https://github.com/jasonhofer "jasonhofer (23 commits)")

### Embed Badge

![Health badge](/badges/develpup-doctrine-oci8-extended/health.svg)

```
[![Health](https://phpackages.com/badges/develpup-doctrine-oci8-extended/health.svg)](https://phpackages.com/packages/develpup-doctrine-oci8-extended)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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