This package is abandoned and no longer maintained. The author suggests using the laminas/laminas-servicemanager package instead.

Factory-Driven Dependency Injection Container


Repository abandoned 2019-12-31

This repository has moved to laminas/laminas-servicemanager.

Master: Build Status Coverage Status Develop: Build Status Coverage Status

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.


We provide scripts for benchmarking zend-servicemanager using the 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