PHPackages                             panwenbin/yii2-oci-sequence-behavior - 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. panwenbin/yii2-oci-sequence-behavior

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

panwenbin/yii2-oci-sequence-behavior
====================================

use Oracle sequence on insert when there is no trigger

1.0.0(8y ago)0143MITPHP

Since Nov 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/panwenbin/yii2-oci-sequence-behavior)[ Packagist](https://packagist.org/packages/panwenbin/yii2-oci-sequence-behavior)[ RSS](/packages/panwenbin-yii2-oci-sequence-behavior/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

### OciSequenceBehavior

[](#ocisequencebehavior)

> This is usefull when an Oracle sequence not set with a trigger. Add the behavior, the primary key will be set to SEQUENCE.NEXTVAL.

### Usage

[](#usage)

Add this behavior to oci ActiveRecord model

```
public function behaviors()
{
    return [
        [
            'class' => OciSequenceBehavior::className(),
            'sequenceName' => 'SOME_SEQ',
        ],
    ];
}

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3162d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9246abb5bc6b21062bebdd5685fb7eda856f3208707e743b848d97a62d81935e?d=identicon)[panwenbin](/maintainers/panwenbin)

---

Top Contributors

[![panwenbin](https://avatars.githubusercontent.com/u/19491104?v=4)](https://github.com/panwenbin "panwenbin (2 commits)")

---

Tags

oracleyii2sequenceoci

### Embed Badge

![Health badge](/badges/panwenbin-yii2-oci-sequence-behavior/health.svg)

```
[![Health](https://phpackages.com/badges/panwenbin-yii2-oci-sequence-behavior/health.svg)](https://phpackages.com/packages/panwenbin-yii2-oci-sequence-behavior)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[taq/pdooci

Replacement for the PHP PDO OCI class

67147.3k1](/packages/taq-pdooci)[yii2tech/illuminate

Yii2 to Laravel Migration Package

11415.8k](/packages/yii2tech-illuminate)[jpina/oci8

Oracle database wrapper for PHP oci8 functions

1714.0k](/packages/jpina-oci8)

PHPackages © 2026

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