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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jclaveau/php-behaviorable-trait

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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

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

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

Since Jun 20Pushed 9y 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 today

READMEChangelog (1)Dependencies (1)Versions (3)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 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3297d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1556489?v=4)[Jean Claveau](/maintainers/jclaveau)[@jclaveau](https://github.com/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

74794.9M945](/packages/symfony-runtime)[nette/robot-loader

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

89454.3M347](/packages/nette-robot-loader)[kkszymanowski/traitor

Add a trait use statement to existing PHP class

1305.5M16](/packages/kkszymanowski-traitor)[dragon-code/benchmark

Simple comparison of code execution speed between different options

12036.2k6](/packages/dragon-code-benchmark)[gomachan46/state-machine

simple state machine with annotations for PHP, inspired by AASM known as a Ruby state machine.

1896.3k](/packages/gomachan46-state-machine)[sjaakp/yii2-taggable

Manage tags of ActiveRecord in Yii2.

2931.8k](/packages/sjaakp-yii2-taggable)

PHPackages © 2026

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