PHPackages                             laminas/laminas-servicemanager-inspector - 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. laminas/laminas-servicemanager-inspector

ActiveLibrary

laminas/laminas-servicemanager-inspector
========================================

ServiceManager configuration analysis tool

0.3.0(3y ago)76.2k4[2 issues](https://github.com/laminas/laminas-servicemanager-inspector/issues)[5 PRs](https://github.com/laminas/laminas-servicemanager-inspector/pulls)BSD-3-ClausePHPPHP ~8.0.0 || ~8.1.0 || ~8.2.0CI failing

Since Jun 5Pushed 3w ago12 watchersCompare

[ Source](https://github.com/laminas/laminas-servicemanager-inspector)[ Packagist](https://packagist.org/packages/laminas/laminas-servicemanager-inspector)[ Fund](https://funding.communitybridge.org/projects/laminas-project)[ RSS](/packages/laminas-laminas-servicemanager-inspector/feed)WikiDiscussions 0.4.x Synced 2d ago

READMEChangelog (3)Dependencies (7)Versions (15)Used By (0)

laminas-servicemanager-inspector
================================

[](#laminas-servicemanager-inspector)

[![Build Status](https://github.com/laminas/laminas-servicemanager-inspector/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laminas/laminas-servicemanager-inspector/actions/workflows/continuous-integration.yml)

> ## 🇷🇺 Русским гражданам
>
> [](#-русским-гражданам)
>
> Мы, участники Laminas, родились и живем в разных странах. У многих из нас есть друзья, родственники и коллеги как в России, так и в Украине. Некоторые из нас родились в России. Некоторые из нас живут в России. У некоторых бабушки и дедушки сражались с фашистами во Второй мировой войне. Здесь никто не поддерживает фашизм.
>
> У одного из нас есть украинская родственница, которая спаслась из дома вместе с сыном. Поезд задержался из-за бомбежки на дороге впереди. У нас есть друзья, которые прячутся в бомбоубежищах. Мы с тревогой ждем весточки от них после воздушных налетов, которые беспорядочно наносят удары и попадают по больницам, школам, детским садам и домам. Мы не берем это из каких-либо СМИ. Мы наблюдаем это напрямую.
>
> Вы доверяете нам достаточно, чтоб использовать наши программы, и мы просим вас довериться нам вновь. Мы нуждаемся в помощи. Выходите и протестуйте против этой бесполезной войны. Остановите кровопролитие. Скажите "Нет войне!"
>
> ## 🇺🇸 To Citizens of Russia
>
> [](#-to-citizens-of-russia)
>
> We at Laminas come from all over the world. Many of us have friends, family and colleagues in both Russia and Ukraine. Some of us were born in Russia. Some of us currently live in Russia. Some have grandparents who fought Nazis in World War II. Nobody here supports fascism.
>
> One team member has a Ukrainian relative who fled her home with her son. The train was delayed due to bombing on the road ahead. We have friends who are hiding in bomb shelters. We anxiously follow up on them after the air raids, which indiscriminately fire at hospitals, schools, kindergartens and houses. We're not taking this from any media. These are our actual experiences.
>
> You trust us enough to use our software. We ask that you trust us to say the truth on this. We need your help. Go out and protest this unnecessary war. Stop the bloodshed. Say "stop the war!" [![Psalm coverage](https://camo.githubusercontent.com/4ed133dcb62b5e678c8dac21f20f629bc8b06b0ad41633a18d4bce9ac51f9ac9/68747470733a2f2f73686570686572642e6465762f6769746875622f6c616d696e61732f6c616d696e61732d736572766963656d616e616765722d696e73706563746f722f636f7665726167652e7376673f)](https://shepherd.dev/github/laminas/laminas-servicemanager-inspector)

The purpose of this package is to make autowiring reliable (no `AoT` is involved). At the moment it makes sure that `ReflectionBasedAbstractFactory` won't cause any runtime problems.

The tool can be added to your favorite `CI` so to make sure there are no defects.

[TSC Proposal](https://github.com/laminas/technical-steering-committee/issues/55)

Defects analyzed
----------------

[](#defects-analyzed)

- Circular dependency
- Cyclic alias
- Missing factory
- Factory autoload failure
- Unresolvable service
- Unresolvable scalar
- Scalar type/name mismatch (WIP)
- Other scenarios of misconfiguration

`Laminas/DI/AutowireFactory` support will be coming soon.

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

[](#installation)

Run the following to install this library:

```
$ composer require --dev laminas/laminas-servicemanager-inspector
```

Configuration
-------------

[](#configuration)

No configuration is needed. All you need to do is to include `ConfigProvider` (or `Module`) to your application.

Usage
-----

[](#usage)

```
./vendor/bin/laminas servicemanager:inspect
```

Future plans
------------

[](#future-plans)

- Analyze `AutowireFactory` (from `laminas-di`)
- Check if each and every app's root entrypoint (e.g. a class implementing `RequestHandlerInterface`) has a proper factory

Support
-------

[](#support)

- [Issues](https://github.com/laminas/laminas-servicemanager-inspector/issues/)
- [Forum](https://discourse.laminas.dev/)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance57

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~278 days

Total

9

Last Release

210d ago

PHP version history (3 changes)0.1.0PHP ^7.3 || ~8.0.0

0.1.2PHP &gt;=7.4, &lt;8.2

0.3.0PHP ~8.0.0 || ~8.1.0 || ~8.2.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25943?v=4)[Matthew Weier O'Phinney](/maintainers/weierophinney)[@weierophinney](https://github.com/weierophinney)

---

Top Contributors

[![zakirullin](https://avatars.githubusercontent.com/u/3357383?v=4)](https://github.com/zakirullin "zakirullin (98 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (69 commits)")[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (11 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (9 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (5 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (4 commits)")[![arueckauer](https://avatars.githubusercontent.com/u/1815979?v=4)](https://github.com/arueckauer "arueckauer (2 commits)")[![sasezaki](https://avatars.githubusercontent.com/u/42755?v=4)](https://github.com/sasezaki "sasezaki (1 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (1 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (1 commits)")

---

Tags

laminas

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/laminas-laminas-servicemanager-inspector/health.svg)

```
[![Health](https://phpackages.com/badges/laminas-laminas-servicemanager-inspector/health.svg)](https://phpackages.com/packages/laminas-laminas-servicemanager-inspector)
```

###  Alternatives

[laminas/laminas-validator

Validation classes for a wide range of domains, and the ability to chain validators to create complex validation criteria

15544.9M188](/packages/laminas-laminas-validator)[laminas/laminas-mvc

Laminas's event-driven MVC layer, including MVC Applications, Controllers, and Plugins

17224.4M365](/packages/laminas-laminas-mvc)[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[laminas/laminas-filter

Programmatically filter and normalize data and files

9428.0M150](/packages/laminas-laminas-filter)[laminas/laminas-router

Flexible routing system for HTTP and console applications

3520.6M64](/packages/laminas-laminas-router)[laminas/laminas-session

Object-oriented interface to PHP sessions and storage

8122.7M113](/packages/laminas-laminas-session)

PHPackages © 2026

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