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

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

maximaster/self-registry
========================

Trait to make class to act like self-registry

0.0.1(5y ago)016PHP

Since Mar 1Pushed 5y ago2 watchersCompare

[ Source](https://github.com/maximaster/self-registry)[ Packagist](https://packagist.org/packages/maximaster/self-registry)[ RSS](/packages/maximaster-self-registry/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

maximaster/self-registry
========================

[](#maximasterself-registry)

Trait to make class to act like self-registry

Usage
-----

[](#usage)

```
composer require maximaster/self-registry
```

```
use Maximaster\SelfRegistry\SelfRegistryTrait;

class ApiClient
{
    use SelfRegistryTrait;
}
```

```
$apiClient = new ApiClient();
$apiClient->registerItself();

// in the other part of an application

$apiClient = ApiClient::getInstance();
```

###  Health Score

21

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

1847d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[element-34/php-webdriver

Thin php client for webdriver

121228.3k1](/packages/element-34-php-webdriver)[mgargano/simplehtmldom

Composer package that gives you access to and (unlike all the others at this time) autoloads S.C. Chen's PHP Simple HTML DOM Parser Library

13562.4k1](/packages/mgargano-simplehtmldom)[ericmann/sessionz

PHP Session Manager Interface

574.9k2](/packages/ericmann-sessionz)[scottjs/wp-dotenv

Helper scripts to enable WordPress to use dotenv config files, similar to Laravel 5.

1811.7k1](/packages/scottjs-wp-dotenv)[hiqdev/yii2-language

Yii2 module for language switching

1126.1k1](/packages/hiqdev-yii2-language)

PHPackages © 2026

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