PHPackages                             digicomp/flowobjectresolving - 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. digicomp/flowobjectresolving

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

digicomp/flowobjectresolving
============================

Helper trait offering an easy and standard way to resolve service classes with nice names

2.1.0(2y ago)2861MITPHPPHP ^7.2 | ^8.0

Since Oct 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/digital-competence/DigiComp.FlowObjectResolving)[ Packagist](https://packagist.org/packages/digicomp/flowobjectresolving)[ Docs](https://github.com/digital-competence/DigiComp.FlowObjectResolving)[ RSS](/packages/digicomp-flowobjectresolving/feed)WikiDiscussions develop Synced 1w ago

READMEChangelogDependencies (1)Versions (7)Used By (1)

DigiComp.FlowObjectResolving
----------------------------

[](#digicompflowobjectresolving)

[![Build status](https://camo.githubusercontent.com/2c1dcad71d5802cd6c82892555fe7e55c2193a94c9533bce6fe24bcf9d75bbf3/68747470733a2f2f63692e6469676974616c2d636f6d706574656e63652e64652f6170692f6261646765732f5061636b616765732f44696769436f6d702e466c6f774f626a6563745265736f6c76696e672f7374617475732e737667)](https://camo.githubusercontent.com/2c1dcad71d5802cd6c82892555fe7e55c2193a94c9533bce6fe24bcf9d75bbf3/68747470733a2f2f63692e6469676974616c2d636f6d706574656e63652e64652f6170692f6261646765732f5061636b616765732f44696769436f6d702e466c6f774f626a6563745265736f6c76696e672f7374617475732e737667)

This package is here to help your DI to resolve nice human readable names to class names, to the class names which, should be used.

Additionally, it allows you to get a list of all those nice names, so you could list them from a CommandController, if you want to.

```
class DefaultResolver
{
    use ResolverTrait;

    protected static function getManagedInterface(): string
    {
        return RequestPatternInterface::class;
    }

    protected static function getManagedNamespace(string $packageKey): string
    {
        return 'Security\\RequestPattern\\';
    }
}
```

This class would for example list the following with a simple `getAvailableNames`:

```
['Neos.Flow:ControllerObjectName', 'Neos.Flow:CsrfProtection', 'Neos.Flow:Host',
 'Neos.Flow:Ip', 'Neos.Flow:Uri']
```

And those plugins can now be resolved to instances with `(new DefaultResolver)->resolveObjectName('Neos.Flow:ControllerObjectName')` for example. `getDefaultNamespace` and `getDefaultPackage` are optional for your resolver and will be resolved to the class, which used the trait, if not overridden.

The `ObjectManagerInterface` in `getDefaultPackageKey` is there, because this function makes use of the `CompileStatic`feature of flow.

The name is build in the scheme: `{packageKey}{namespace}{name}` - if you need to have different namespaces for different packages, you should implement your conditions, or even use configuration in `getManagedNamespace` - you'll get the packageKey as argument.

Classes which do not follow the default pattern can still be used, and will be listed, with the FQCN.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Total

4

Last Release

935d ago

Major Versions

1.1.1 → 2.0.22023-02-17

PHP version history (2 changes)1.0.2PHP ^7.2

2.0.2PHP ^7.2 | ^8.0

### Community

Maintainers

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

---

Top Contributors

[![fcool](https://avatars.githubusercontent.com/u/304736?v=4)](https://github.com/fcool "fcool (29 commits)")

---

Tags

dependency-injectionflowNeos

### Embed Badge

![Health badge](/badges/digicomp-flowobjectresolving/health.svg)

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

###  Alternatives

[shel/neos-hyphens

A plugin for Neos CMS which provides hyphens for the inline editor

20200.7k1](/packages/shel-neos-hyphens)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21166.3k](/packages/techdivision-ckstyles)[moc/notfound

Neos CMS package that loads a normal editable page for displaying a 404 error

18167.5k](/packages/moc-notfound)[carbon/includeassets

Include your assets (css, js) in an easy way into Neos

14228.6k10](/packages/carbon-includeassets)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

1494.4k6](/packages/shel-neos-colorpicker)[breadlesscode/neos-blog

Ready to use blog package

161.4k](/packages/breadlesscode-neos-blog)

PHPackages © 2026

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