PHPackages                             petitchevalroux/singleton - 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. petitchevalroux/singleton

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

petitchevalroux/singleton
=========================

Implement singleton design pattern

0.0.1(10y ago)0511GPLPHP

Since Sep 4Pushed 10y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (3)Used By (1)

[![Build Status](https://camo.githubusercontent.com/bc53eb0ca3f41ecf3facc1a45f98173a65b98f1729c8af2d6d44385e2a0c9abf/68747470733a2f2f7472617669732d63692e6f72672f706574697463686576616c726f75782f7068702d73696e676c65746f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/petitchevalroux/php-singleton)[![codecov.io](https://camo.githubusercontent.com/855e63a1ce527815488c351ed1adae8ad662426465efbeaf42bef743d888ba49/687474703a2f2f636f6465636f762e696f2f6769746875622f706574697463686576616c726f75782f7068702d73696e676c65746f6e2f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/petitchevalroux/php-singleton?branch=master)

php-singleton
=============

[](#php-singleton)

Implement singleton design pattern

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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

3909d ago

### Community

Maintainers

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

---

Top Contributors

[![petitchevalroux](https://avatars.githubusercontent.com/u/1106867?v=4)](https://github.com/petitchevalroux "petitchevalroux (2 commits)")[![pcraum](https://avatars.githubusercontent.com/u/3695449?v=4)](https://github.com/pcraum "pcraum (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/petitchevalroux-singleton/health.svg)

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

PHPackages © 2026

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