PHPackages                             vladdnepr/trait-utils - 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. vladdnepr/trait-utils

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

vladdnepr/trait-utils
=====================

PHP Trait Utilities

1.0(10y ago)0271public domainPHPPHP &gt;=5.4.0

Since Sep 15Pushed 10y ago1 watchersCompare

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

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

PHP Trait Contain
=================

[](#php-trait-contain)

PHP Trait Utilities - contain PHP trait utilities

For example - check class contain some trait with check parent classes

- [Github Project](https://github.com/vladdnepr/trait-utils)

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

[](#installation)

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions at [getcomposer.org](http://getcomposer.org/doc/00-intro.md#installation-nix).

You can then install this package using the following command:

```
php composer.phar require "vladdnepr/trait-utils" "*"
```

or add

```
"vladdnepr/trait-utils": "*"
```

to the require section of your application's `composer.json` file.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Vladislav Lyshenko](https://github.com/vladdnepr)
- [All Contributors](../../contributors)

License
-------

[](#license)

Public domain. Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

3898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/101d5dc30b6dcc6122f15c83a22d9f1cdbe20e6e34d55cfa352de58d6a4d131b?d=identicon)[vladdnepr](/maintainers/vladdnepr)

---

Tags

phptraitutilsutilitiesinstanceofcontain

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vladdnepr-trait-utils/health.svg)

```
[![Health](https://phpackages.com/badges/vladdnepr-trait-utils/health.svg)](https://phpackages.com/packages/vladdnepr-trait-utils)
```

###  Alternatives

[kkszymanowski/traitor

Add a trait use statement to existing PHP class

1305.2M16](/packages/kkszymanowski-traitor)

PHPackages © 2026

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