PHPackages                             johnpancoast/php-common - 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. johnpancoast/php-common

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

johnpancoast/php-common
=======================

Common functionality for my PHP apps

6.18.0(6y ago)0169[2 issues](https://github.com/johnpancoast/php-common/issues)1MITPHPPHP &gt;=5.4.0

Since Apr 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/johnpancoast/php-common)[ Packagist](https://packagist.org/packages/johnpancoast/php-common)[ RSS](/packages/johnpancoast-php-common/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (37)Used By (1)

php-common
==========

[](#php-common)

**This lib is defunct. The only things here that ever saw use were the common entity interfaces. All other code was supplemented by other packages. I've left it here for reference.**

Common functionality for my PHP apps

*Note that due to my idiocy I versioned this as a public v1 too early.* In the eyes of [semver](http://semver.org/), it matters since the API is public and it's changing a lot, regardless of the fact that nobody uses this besides me =P. **Due to this, all versions below version 7 should be considered as version 0. Version 7.0.0 will be the official public API.**

Install
-------

[](#install)

This project uses [composer](https://getcomposer.org/) for package management. Go there for details on how packages work.

You can either run this:

```
composer require johnpancoast/php-common
```

Or you can put this in inside the `require` block in your `composer.json` file then run `composer update`:

```
{
  "require": {
    "johnpancoast/php-common": "^6.1"
  }
}
```

*Make sure to look at the versions, v7 is first public release*.

todo
----

[](#todo)

- Tests... I'm busy... I know, I know...

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity70

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 ~39 days

Recently: every ~142 days

Total

36

Last Release

2376d ago

Major Versions

1.0.0 → 2.0.02016-04-17

2.1.1 → 3.0.02016-05-01

3.0.0 → 4.0.02016-05-01

4.1.1 → 5.0.02016-12-06

5.0.0 → 6.0.02016-12-08

### Community

Maintainers

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

---

Top Contributors

[![johnpancoast](https://avatars.githubusercontent.com/u/87027?v=4)](https://github.com/johnpancoast "johnpancoast (62 commits)")

### Embed Badge

![Health badge](/badges/johnpancoast-php-common/health.svg)

```
[![Health](https://phpackages.com/badges/johnpancoast-php-common/health.svg)](https://phpackages.com/packages/johnpancoast-php-common)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M723](/packages/sylius-sylius)[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k624.1k86](/packages/akeneo-pim-community-dev)[api-platform/doctrine-common

Common files used by api-platform/doctrine-orm and api-platform/doctrine-odm

274.4M48](/packages/api-platform-doctrine-common)[roave/psr-container-doctrine

Doctrine Factories for PSR-11 Containers

100819.1k22](/packages/roave-psr-container-doctrine)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16160.8k9](/packages/hostnet-entity-tracker-component)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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