zendframework/zend-servicemanager

Factory-Driven Dependency Injection Container


Keywords
di, dic, ZendFramework, zf, dependency-injection, servicemanager, service-manager, PSR-11
License
BSD-3-Clause

Documentation

zend-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.

Benchmarks

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