PHPackages                             jclaveau/php-behaviorable-trait - 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. jclaveau/php-behaviorable-trait

ActiveLibrary

jclaveau/php-behaviorable-trait
===============================

Multiple inheritance defined at runtime for PHP 5.4+ (Inspired by Yii's Behavior)

v1.0.0(8y ago)028MITPHPPHP &gt;=5.4.0

Since Jun 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jclaveau/php-behaviorable-trait)[ Packagist](https://packagist.org/packages/jclaveau/php-behaviorable-trait)[ RSS](/packages/jclaveau-php-behaviorable-trait/feed)WikiDiscussions master Synced 1mo ago

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

php-behaviorable-trait
======================

[](#php-behaviorable-trait)

Standalone multiple inheritance defined at runtime for PHP (Inspired by Yii's Behavior)

Some examples will come soon. You can give a look at the [tests](https://github.com/jclaveau/php-behaviorable-trait/blob/master/tests/BehaviorTest.php) meanwhile.

License
-------

[](#license)

This trait is released under the MIT. See the LICENSE file for a full copy of the license.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

3245d ago

### Community

Maintainers

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

---

Top Contributors

[![demos](https://avatars.githubusercontent.com/u/657699?v=4)](https://github.com/demos "demos (5 commits)")

---

Tags

traitruntimeBehaviorstandalonemultiple inheritance

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jclaveau-php-behaviorable-trait/health.svg)

```
[![Health](https://phpackages.com/badges/jclaveau-php-behaviorable-trait/health.svg)](https://phpackages.com/packages/jclaveau-php-behaviorable-trait)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74387.7M685](/packages/symfony-runtime)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89152.7M320](/packages/nette-robot-loader)[josegonzalez/cakephp-upload

CakePHP plugin to handle file uploading sans ridiculous automagic

5451.3M9](/packages/josegonzalez-cakephp-upload)[kkszymanowski/traitor

Add a trait use statement to existing PHP class

1305.2M16](/packages/kkszymanowski-traitor)[antlr/antlr4-php-runtime

PHP 8.0+ runtime for ANTLR 4

96636.7k13](/packages/antlr-antlr4-php-runtime)[liqueurdetoile/cakephp-orm-json

Cakephp plugin to provide easy control over JSON type fields in database

1461.1k](/packages/liqueurdetoile-cakephp-orm-json)

PHPackages © 2026

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