Simple service container for PHPUnit tests

v3.2.1 2020-12-10 18:45 UTC

This package is auto-updated.

Last update: 2021-11-10 20:45:21 UTC


Build Status

This library provides a simple service container which makes use of service providers. It also provides a base class for your test cases which provides access to such a service container.

The service container extends the Pimple dependency injection container.

Create your own service providers to configure any services you'd like to use in your unit tests.

Read more about using a service container to configure dependencies in unit tests (or integration tests) here: