PHPackages                             zendframework/zend-servicemanager - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. zendframework/zend-servicemanager

Abandoned → [laminas/laminas-servicemanager](/?search=laminas%2Flaminas-servicemanager)ArchivedLibrary[PSR &amp; Standards](/categories/psr-standards)

zendframework/zend-servicemanager
=================================

Factory-Driven Dependency Injection Container

3.4.0(7y ago)18728.9M—0%87[13 issues](https://github.com/zendframework/zend-servicemanager/issues)[9 PRs](https://github.com/zendframework/zend-servicemanager/pulls)20BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Oct 17Pushed 6y ago37 watchersCompare

[ Source](https://github.com/zendframework/zend-servicemanager)[ Packagist](https://packagist.org/packages/zendframework/zend-servicemanager)[ RSS](/packages/zendframework-zend-servicemanager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (90)Used By (20)

zend-servicemanager
===================

[](#zend-servicemanager)

> ## Repository abandoned 2019-12-31
>
> [](#repository-abandoned-2019-12-31)
>
> This repository has moved to [laminas/laminas-servicemanager](https://github.com/laminas/laminas-servicemanager).

Master: [![Build Status](https://camo.githubusercontent.com/c23902cbf7a2e9e2c8d42714380db29aa5e8bc7a3ff798d1d5ba62afede6a57f/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d736572766963656d616e616765722e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-servicemanager)[![Coverage Status](https://camo.githubusercontent.com/0322cb4c1e24b91607acbaf0d12d84113cf6a151c0e76b50cbd48f679995fb1b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d736572766963656d616e616765722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-servicemanager?branch=master)Develop: [![Build Status](https://camo.githubusercontent.com/0dafb619b766ef5a67297b5114e6723c57dda4027593c1c03e950ec42fce4baf/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d736572766963656d616e616765722e7376673f6272616e63683d646576656c6f70)](https://secure.travis-ci.org/zendframework/zend-servicemanager)[![Coverage Status](https://camo.githubusercontent.com/1f5b85663e6c450808f0b7b29dc17b1642adec01de4bc95ed52c72c0fb2c8c35/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d736572766963656d616e616765722f62616467652e7376673f6272616e63683d646576656c6f70)](https://coveralls.io/github/zendframework/zend-servicemanager?branch=develop)

The Service Locator design pattern is implemented by the `Zend\ServiceManager`component. The Service Locator is a service/object locator, tasked with retrieving other objects.

- File issues at
- [Online documentation](https://docs.zendframework.com/zend-servicemanager)
- [Documentation source files](docs/book/)

Benchmarks
----------

[](#benchmarks)

We provide scripts for benchmarking zend-servicemanager using the [PHPBench](https://github.com/phpbench/phpbench) framework; these can be found in the `benchmarks/` directory.

To execute the benchmarks you can run the following command:

```
$ vendor/bin/phpbench run --report=aggregate
```

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity66

Solid adoption and visibility

Community56

Growing community involvement

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 70.6% 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 ~26 days

Recently: every ~97 days

Total

86

Last Release

2704d ago

Major Versions

2.7.5 → 3.0.32016-02-02

2.7.6 → 3.1.02016-06-01

2.7.8 → 3.1.22016-12-19

2.7.10 → 3.3.22018-01-29

2.7.11 → 3.4.02018-12-22

PHP version history (5 changes)2.0.3PHP &gt;=5.3.3

2.3.0PHP &gt;=5.3.23

2.6.0PHP &gt;=5.5

2.7.0PHP ^5.5 || ^7.0

3.2.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/296074?v=4)[Zend Framework](/maintainers/zendframework)[@zendframework](https://github.com/zendframework)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (4703 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (605 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (509 commits)")[![EvanDotPro](https://avatars.githubusercontent.com/u/5607?v=4)](https://github.com/EvanDotPro "EvanDotPro (182 commits)")[![akrabat](https://avatars.githubusercontent.com/u/33135?v=4)](https://github.com/akrabat "akrabat (122 commits)")[![ezimuel](https://avatars.githubusercontent.com/u/475967?v=4)](https://github.com/ezimuel "ezimuel (101 commits)")[![ralphschindler](https://avatars.githubusercontent.com/u/76674?v=4)](https://github.com/ralphschindler "ralphschindler (35 commits)")[![bakura10](https://avatars.githubusercontent.com/u/1198915?v=4)](https://github.com/bakura10 "bakura10 (35 commits)")[![marc-mabe](https://avatars.githubusercontent.com/u/302689?v=4)](https://github.com/marc-mabe "marc-mabe (34 commits)")[![sgehrig](https://avatars.githubusercontent.com/u/43394?v=4)](https://github.com/sgehrig "sgehrig (33 commits)")[![GeeH](https://avatars.githubusercontent.com/u/613376?v=4)](https://github.com/GeeH "GeeH (31 commits)")[![mwillbanks](https://avatars.githubusercontent.com/u/38209?v=4)](https://github.com/mwillbanks "mwillbanks (26 commits)")[![samsonasik](https://avatars.githubusercontent.com/u/459648?v=4)](https://github.com/samsonasik "samsonasik (26 commits)")[![Freeaqingme](https://avatars.githubusercontent.com/u/33034?v=4)](https://github.com/Freeaqingme "Freeaqingme (24 commits)")[![DASPRiD](https://avatars.githubusercontent.com/u/233300?v=4)](https://github.com/DASPRiD "DASPRiD (23 commits)")[![michalbundyra](https://avatars.githubusercontent.com/u/7423207?v=4)](https://github.com/michalbundyra "michalbundyra (19 commits)")[![kokx](https://avatars.githubusercontent.com/u/138556?v=4)](https://github.com/kokx "kokx (19 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (17 commits)")[![Xerkus](https://avatars.githubusercontent.com/u/725842?v=4)](https://github.com/Xerkus "Xerkus (15 commits)")[![kokspflanze](https://avatars.githubusercontent.com/u/1885435?v=4)](https://github.com/kokspflanze "kokspflanze (14 commits)")

---

Tags

PSR-11dependency-injectiondidicservicemanagerservice-managerZendFrameworkzf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zendframework-zend-servicemanager/health.svg)

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

###  Alternatives

[laminas/laminas-servicemanager

Factory-Driven Dependency Injection Container

15955.1M694](/packages/laminas-laminas-servicemanager)[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[elie29/zend-phpdi-config

PSR-11 PHP-DI autowire container configurator for Laminas, Mezzio, ZF2, ZF3 and Zend Expressive applications

20238.6k7](/packages/elie29-zend-phpdi-config)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)[woohoolabs/zen

Woohoo Labs. Zen DI Container and preload file generator

986.2k](/packages/woohoolabs-zen)

PHPackages © 2026

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