PHPackages                             dwo/traits - 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. dwo/traits

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

dwo/traits
==========

1.1.1(5y ago)1409MITPHPPHP &gt;=7.1

Since May 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/davewwww/Traits)[ Packagist](https://packagist.org/packages/dwo/traits)[ RSS](/packages/dwo-traits/feed)WikiDiscussions master Synced 4d ago

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

Traits
======

[](#traits)

A collection of traits to build quick and easy entities.

```
class FooEntity
{
    use IdTrait, CreatedAtTrait, NameTrait, StateTrait;

    public function __construct()
    {
        $this->setCreatedAt(new \DateTimeImmutable());
        $this->setState('init');
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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

Every ~355 days

Total

3

Last Release

1855d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.1.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/92fbda736c9e7b2a06e4d23b0e3768f3f7cec3a609540808ef5db10c348231c0?d=identicon)[dave](/maintainers/dave)

---

Top Contributors

[![davewwww](https://avatars.githubusercontent.com/u/921303?v=4)](https://github.com/davewwww "davewwww (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dwo-traits/health.svg)

```
[![Health](https://phpackages.com/badges/dwo-traits/health.svg)](https://phpackages.com/packages/dwo-traits)
```

###  Alternatives

[rangerz/magento2-module-quicklink

Faster subsequent page-loads by prefetching in-viewport links during idle time.

3410.0k](/packages/rangerz-magento2-module-quicklink)[aozisik/php-turkce

Turkish language friendly string manipulation functions for PHP.

292.1k](/packages/aozisik-php-turkce)[zenstruck/class-metadata

Add human readable class aliases &amp; metadata with efficient lookups.

142.8k5](/packages/zenstruck-class-metadata)

PHPackages © 2026

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