PHPackages                             psmb/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. psmb/registry

ActiveNeos-package[Utility &amp; Helpers](/categories/utility)

psmb/registry
=============

Global registry of things with an Eel helper

2.1.4(1y ago)327.6k—3.8%51MITPHP

Since Nov 29Pushed 1y ago4 watchersCompare

[ Source](https://github.com/psmb/Psmb.Registry)[ Packagist](https://packagist.org/packages/psmb/registry)[ RSS](/packages/psmb-registry/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (1)Versions (11)Used By (1)

**Use with caution and only if you absolutely have to!**

This package provides you with a registry service and an Eel helper to get and set values on it.

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

[](#installation)

`composer require psmb/registry`

Usage
-----

[](#usage)

#### Example

[](#example)

```
root = T:Collection {
    @context.blah = ${Registry.set('acc', 0)}
    collection = ${[1,2,3]}
    itemName = 'item'
    itemRenderer = T:Value {
        @context.blah = ${Registry.set('acc', item + Registry.get('acc'))}
        value = ${Registry.get('acc')}
    }
}

```

The following methods are available:

- **set(key, value):** Sets a value by key
- **get(key):** Returns a value by key
- **getset(key, value):** Atomically sets key to value and returns the old value stored at key.
- **increment(key):** Increment a value by key
- **decrement(key):** Derement a value by key

A key can consist of a single string or a path, separated with dots which addresses a value in a nested array.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance44

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 69.3% 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 ~340 days

Recently: every ~518 days

Total

10

Last Release

438d ago

Major Versions

0.1 → 1.02017-02-01

1.0 → 2.02017-02-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e7861363bc4d9a01d804fb1823366c3e59f339542e3a4ea89f7cea7b0ea91af?d=identicon)[dimaip](/maintainers/dimaip)

---

Top Contributors

[![dfeyer](https://avatars.githubusercontent.com/u/221173?v=4)](https://github.com/dfeyer "dfeyer (70 commits)")[![dimaip](https://avatars.githubusercontent.com/u/837032?v=4)](https://github.com/dimaip "dimaip (14 commits)")[![daniellienert](https://avatars.githubusercontent.com/u/642226?v=4)](https://github.com/daniellienert "daniellienert (9 commits)")[![mgoldbeck](https://avatars.githubusercontent.com/u/1336044?v=4)](https://github.com/mgoldbeck "mgoldbeck (7 commits)")[![Xathos1991](https://avatars.githubusercontent.com/u/181067222?v=4)](https://github.com/Xathos1991 "Xathos1991 (1 commits)")

---

Tags

neoscms

### Embed Badge

![Health badge](/badges/psmb-registry/health.svg)

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

###  Alternatives

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

1151.0M776](/packages/neos-neos)[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.2M36](/packages/neos-eel)[neos/fusion-form

Fusion Form

19776.4k47](/packages/neos-fusion-form)[neos/form

Extensible and flexible API for building web forms

18892.2k54](/packages/neos-form)[neos/media

The Media package

101.2M53](/packages/neos-media)[avency/neos-vardump

Neos VarDump Package

147.2k](/packages/avency-neos-vardump)

PHPackages © 2026

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