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

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

wpsmith/singleton
=================

PHP Singleton Class for doing singleton's right.

1.0.4(6y ago)052120GPL-2.0+PHPPHP &gt;=5.2.4

Since Jun 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wpsmith/Singleton)[ Packagist](https://packagist.org/packages/wpsmith/singleton)[ Docs](https://github.com/wpsmith/Singleton)[ RSS](/packages/wpsmith-singleton/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (8)Used By (20)

PHP Singleton Class
===================

[](#php-singleton-class)

A PHP singleton class done the right way. This abstract class is designed to be extended.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

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

Recently: every ~126 days

Total

7

Last Release

2191d ago

Major Versions

0.0.2 → 1.0.02018-12-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/46adebc3eebe7494dba592e75ac8f8572222050648b0283515b4a5896648d846?d=identicon)[wpsmith](/maintainers/wpsmith)

---

Top Contributors

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

---

Tags

pluginwordpressdependencysingleton

### Embed Badge

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

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

###  Alternatives

[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)[webdevstudios/cmb2-attached-posts

Custom field for CMB2 for creating post relationships.

13565.5k](/packages/webdevstudios-cmb2-attached-posts)[iceicetimmy/acf-post-type-selector

Post type selector for Advanced Custom Fields.

559.0k](/packages/iceicetimmy-acf-post-type-selector)

PHPackages © 2026

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