Download the PHP package phespro/container without Composer
On this page you can find all versions of the php package phespro/container. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download phespro/container
More information about phespro/container
Files in phespro/container
Download phespro/container
More information about phespro/container
Files in phespro/container
Vendor phespro
Package container
Short Description Super simple dependency injection container for php
License MIT
Package container
Short Description Super simple dependency injection container for php
License MIT
Please rate this library. Is it a good library?
Informations about the package container
phespro/container
Super simple dependency injection container for php.
- LOC < 300
- No cache required
- Includes tagging and decorating
- 100% line coverage & 100% mutation coverage
- Implements PSR-11
Usage
Install it:
Create it:
Use it!!!
Adding Services
Get Services
Decorating Services
You can decorate (or overwrite) services:
Scoping
Depending on the type of execution model you are running your PHP app, you might have multiple requests / commands per process.
In this case you might consider using scoped services. A scoped service is used for one specific execution context.
Scoping example
All versions of container with dependencies
PHP Build Version
Package Version
The package phespro/container contains the following files
Loading the files please wait ...