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

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

darkfriend/php7-singleton
=========================

PHP7 singleton trait

1.0.1(6y ago)046PHPPHP &gt;=7.0

Since Dec 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/darkfriend/php7-singleton)[ Packagist](https://packagist.org/packages/darkfriend/php7-singleton)[ Docs](https://github.com/darkfriend/php7-singleton)[ RSS](/packages/darkfriend-php7-singleton/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP7-Singleton pattern
======================

[](#php7-singleton-pattern)

`composer require darkfriend/php7-singleton`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

2

Last Release

2334d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/302f1cdc7cb85fc89550bad0c164e195b831f50de8a2a148fa754670d5f328cc?d=identicon)[darkfriend](/maintainers/darkfriend)

---

Top Contributors

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

---

Tags

patternphpphp7singletonphphelperdevtraitdevelopmentPHP7singletondarkfriend

### Embed Badge

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

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

###  Alternatives

[zjkal/time-helper

一个简单快捷的PHP日期时间助手类库。 a smart PHP datetime helper library.

21128.6k1](/packages/zjkal-time-helper)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2516.7k](/packages/iteks-laravel-enum)

PHPackages © 2026

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