PHPackages                             subjective-php/spl-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. subjective-php/spl-traits

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

subjective-php/spl-traits
=========================

A collection standard traits

v3.0.0(7y ago)381MITPHPPHP ^7.0

Since Aug 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/subjective-php/spl-traits)[ Packagist](https://packagist.org/packages/subjective-php/spl-traits)[ RSS](/packages/subjective-php-spl-traits/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (3)Versions (8)Used By (0)

SubjectivePHP\\Spl\\Traits
==========================

[](#subjectivephpspltraits)

[![Build Status](https://camo.githubusercontent.com/5b9df7e804ea0cc2b73396603e934af6709d65dab3a6b7d4320760d38853b1a9/68747470733a2f2f7472617669732d63692e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/subjective-php/spl-traits)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/caf75fe0a6e05b847755863680c637aad83439af98958e2fcf40930b5ffd0114/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7375626a6563746976652d7068702f73706c2d7472616974732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/subjective-php/spl-traits/?branch=master)[![Coverage Status](https://camo.githubusercontent.com/12bdb9b419a94f35ed453d27368de0a6a1f7bc1a04137f708c01ffa9557f5bb0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7375626a6563746976652d7068702f73706c2d7472616974732f62616467652e737667)](https://coveralls.io/github/subjective-php/spl-traits)

[![Latest Stable Version](https://camo.githubusercontent.com/265c723aded43a5a8ff6e39f34b893203d7e0bc888b03ae103980d0460a104a7/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f762f737461626c65)](https://packagist.org/packages/subjective-php/spl-traits)[![Latest Unstable Version](https://camo.githubusercontent.com/b5d323fd131c7503a5ef79b3e5de2bdd947e2b778a02ae67b985a8a1b531beb0/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f762f756e737461626c65)](https://packagist.org/packages/subjective-php/spl-traits)[![License](https://camo.githubusercontent.com/5b2eb1c8f63ea2da274961b8b596abdc35064e917cf7270ea8dc7d010438821f/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f6c6963656e7365)](https://packagist.org/packages/subjective-php/spl-traits)

[![Total Downloads](https://camo.githubusercontent.com/acdaa67dc9cdbfa3b2e78d55ceb9df54037540448dc0b7bcbb8c1a48ca387d7e/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f646f776e6c6f616473)](https://packagist.org/packages/subjective-php/spl-traits)[![Daily Downloads](https://camo.githubusercontent.com/b1737a687b8a4c98b511d157be993abc7bdc94f14fa869aa049be90e9dc2727a/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f642f6461696c79)](https://packagist.org/packages/subjective-php/spl-traits)[![Monthly Downloads](https://camo.githubusercontent.com/8ae85ba91db59369d0a8d8b618ab90c9b44205111fc921c6369293b9d998d915/68747470733a2f2f706f7365722e707567782e6f72672f7375626a6563746976652d7068702f73706c2d7472616974732f642f6d6f6e74686c79)](https://packagist.org/packages/subjective-php/spl-traits)

[![Documentation](https://camo.githubusercontent.com/a5445bbf0a3a04a2ec4db113f8a4ada4e12b57d9b2de32d936fa17800bc9ca6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7265666572656e63652d706870646f632d626c75652e7376673f7374796c653d666c6174)](http://www.pholiophp.org/subjective-php/spl-traits)

A collection of standard traits.

Requirements
------------

[](#requirements)

SubjectivePHP\\Spl\\Interfaces requires PHP 7.0 (or later).

Composer
--------

[](#composer)

To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `subjective-php/spl-traits` to your project's `composer.json` file such as:

```
composer require subjective-php/spl-traits
```

Contact
-------

[](#contact)

Developers may be contacted at:

- [Pull Requests](https://github.com/subjective-php/spl-traits/pulls)
- [Issues](https://github.com/subjective-php/spl-traits/issues)

Project Build
-------------

[](#project-build)

With a checkout of the code get [Composer](http://getcomposer.org) in your PATH and run:

```
composer install
./vendor/bin/phpunit
./vendor/bin/phpcs
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

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

Every ~170 days

Recently: every ~248 days

Total

7

Last Release

2902d ago

Major Versions

v0.1.1 → v1.0.02015-09-15

v1.1.0 → v2.0.02018-03-17

v2.0.0 → v3.0.02018-06-03

PHP version history (2 changes)v0.1.0PHP ~5.4 || ~7.0

v2.0.0PHP ^7.0

### Community

Maintainers

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

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (59 commits)")

---

Tags

spltraits

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/subjective-php-spl-traits/health.svg)

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

###  Alternatives

[ihor/nspl

Non-standard PHP library (NSPL) - functional primitives toolbox and more

381368.5k](/packages/ihor-nspl)[sdboyer/gliph

A graph library for PHP.

17029.1k1](/packages/sdboyer-gliph)[prevailexcel/laravel-action-service-trait

A simple Laravel package to create actions, traits and services using artisan commands

143.0k](/packages/prevailexcel-laravel-action-service-trait)

PHPackages © 2026

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