PHPackages                             mia3/koseki - 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. mia3/koseki

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

mia3/koseki
===========

Library to quickly find classes that implement specific interfaces

1.3.0(10y ago)6501PHP

Since Dec 12Pushed 9y ago3 watchersCompare

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

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

Koseki ClassRegister
====================

[](#koseki-classregister)

This library helps you to quickly and easily find classes that implement an interface or extend from a base class. It uses the registered interfaces of composer to find/build the registry. The registry itself is cached in the temporary directory returned by "sys\_get\_temp\_dir()". The cache entry will automatically be recached if the the composer autoload\_file changes. But it can does not pick up new/changes files, for development you should use the parameter "forceRecache". it's still wicked fast.

**Usage cached**

```
$implementations = ClassRegister::getImplementations('Acme\Package\MyCoolInterface');
```

**Usage with forceRecache**

```
$implementations = ClassRegister::getImplementations('Acme\Package\MyCoolInterface', TRUE);
```

That's it :)

**Installation**

```
composer require mia3/koseki

```

**Ignoring incompatible/failing files**

There are 2 choices where you can specify files that should be ignored by the ClassRegistry.

- `.koseki-ignore`
- `.gitattributes`

The syntax is based on the common .gitignore format: [https://git-scm.com/docs/gitignore#\_pattern\_format](https://git-scm.com/docs/gitignore#_pattern_format)

The ClassRegister will automatically add a file to the root `.koseki-ignore` file if it encounters a fatal error while including a class file.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity68

Established project with proven stability

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

Total

6

Last Release

3847d ago

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/16238881?v=4)[Digitalagentur MIA3 GmbH](/maintainers/MIA3)[@mia3](https://github.com/mia3)

### Embed Badge

![Health badge](/badges/mia3-koseki/health.svg)

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

###  Alternatives

[ryan/toastr-for-laravel

toastr.js for laravel5

409.2k](/packages/ryan-toastr-for-laravel)[damodar-bhattarai/settings

Package to store and get general website settings on the fly.

312.2k1](/packages/damodar-bhattarai-settings)

PHPackages © 2026

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