PHPackages                             sinevia/php-library-registry - 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. sinevia/php-library-registry

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

sinevia/php-library-registry
============================

PHP Library Registry

v2.9.0(7y ago)11.8k13proprietaryPHP

Since Jan 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Sinevia/php-library-registry)[ Packagist](https://packagist.org/packages/sinevia/php-library-registry)[ Docs](http://github.com/sinevia/php-library-registry)[ RSS](/packages/sinevia-php-library-registry/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)DependenciesVersions (6)Used By (3)

PHP Library Registry
====================

[](#php-library-registry)

The Registry provides a safe implementation of an a registry store for variables, that can be used anywhere in the app.

It is a safe alternative of the $GLOBALS variable.

[![No Dependencies](https://camo.githubusercontent.com/e5650883bec05bec967678c8203c32b160b75c93b5b745c80bd9e6f25eb4a3db/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e6f2d646570656e64656e636965732d737563636573732e737667)](https://camo.githubusercontent.com/e5650883bec05bec967678c8203c32b160b75c93b5b745c80bd9e6f25eb4a3db/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6e6f2d646570656e64656e636965732d737563636573732e737667)

Background
----------

[](#background)

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

[](#installation)

### 1. Via Composer

[](#1-via-composer)

```
composer require sinevia/php-library-registry

```

### 2. Manually

[](#2-manually)

Download from

Usage
-----

[](#usage)

### 1. Setting, retrieving, removing

[](#1-setting-retrieving-removing)

```
\Sinevia\Registry::set('admin_email','admin@domain.com');

if (\Sinevia\Registry::has('admin_email')) {
    echo \Sinevia\Registry::get('admin_email');
}

\Sinevia\Registry::remove('admin_email');
```

### 2. Default value

[](#2-default-value)

```
$title = \Sinevia\Registry::get('title', 'Undefined');
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 84.2% 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 ~132 days

Total

5

Last Release

2562d ago

Major Versions

v1.0.0 → v2.4.02019-02-18

### Community

Maintainers

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

---

Top Contributors

[![Sinevia](https://avatars.githubusercontent.com/u/3450815?v=4)](https://github.com/Sinevia "Sinevia (16 commits)")[![lesichkovm](https://avatars.githubusercontent.com/u/7744963?v=4)](https://github.com/lesichkovm "lesichkovm (3 commits)")

---

Tags

phplibraryregistrysinevia

### Embed Badge

![Health badge](/badges/sinevia-php-library-registry/health.svg)

```
[![Health](https://phpackages.com/badges/sinevia-php-library-registry/health.svg)](https://phpackages.com/packages/sinevia-php-library-registry)
```

PHPackages © 2026

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