PHPackages                             teratic/commons - 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. teratic/commons

ActiveLibrary

teratic/commons
===============

Common utility classes and functions

v0.1.0(9y ago)013MITPHPPHP &gt;=5.4.0

Since Jan 6Pushed 9y ago3 watchersCompare

[ Source](https://github.com/teratic/php-commons)[ Packagist](https://packagist.org/packages/teratic/commons)[ RSS](/packages/teratic-commons/feed)WikiDiscussions master Synced 2mo ago

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

PHP Commons
===========

[](#php-commons)

[![Latest version](https://camo.githubusercontent.com/b9bfc619dbd81c35a422d248cc08627fee72972931f28d9cb2711674f94dc01c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746572617469632f636f6d6d6f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teratic/commons)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://hassankhan.mit-license.org)[![Build Status](https://camo.githubusercontent.com/d6f9492064b85c824f3111c2f32ebe1f384531db4daea8631ed07833a96bcc43/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f746572617469632f7068702d636f6d6d6f6e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/teratic/php-commons)[![Coverage Status](https://camo.githubusercontent.com/c476baa9eaf769912900ac347d46cb203c6ad77009c3e2620807cfb03562d2aa/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f746572617469632f7068702d636f6d6d6f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/teratic/php-commons/code-structure)[![Quality Score](https://camo.githubusercontent.com/30e1907b8b2e26eb163ea2cde18ba930741e83566ffc6020f2a9486ae0d052d5/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f746572617469632f7068702d636f6d6d6f6e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/teratic/php-commons)[![Total Downloads](https://camo.githubusercontent.com/4e1ec24a9ad717c7194e68de14c34c7d611f07eecb858b8b3c468d8c37b4f9a7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746572617469632f636f6d6d6f6e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/teratic/commons)[![Gitter](https://camo.githubusercontent.com/82b37b704e2e79c5d50f45f6cf0aab5873f32ffcca6c38864d72b1a66c2ba48c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4749545445522d4a4f494e253230434841542532302545322538362539322d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](https://gitter.im/php-commons?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

PHP Commons are a set of common utility classes and functions.

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

[](#requirements)

Commons requires PHP 5.4+.

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

[](#installation)

The supported way of installing Commons is via Composer.

```
$ composer require teratic/php-commons
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

3416d ago

### Community

Maintainers

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

---

Top Contributors

[![marcoslois](https://avatars.githubusercontent.com/u/13698428?v=4)](https://github.com/marcoslois "marcoslois (10 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/teratic-commons/health.svg)

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

PHPackages © 2026

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