Download the PHP package fas/di without Composer
On this page you can find all versions of the php package fas/di. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor fas
Package di
Short Description Fast and simple dependency injection
License MIT
Homepage https://github.com/gielfeldt/fas-di
Package di
Short Description Fast and simple dependency injection
License MIT
Homepage https://github.com/gielfeldt/fas-di
Please rate this library. Is it a good library?
Informations about the package di
Installation
Usage
Creating container
Adding dependencies
Abstract factories. Will be resolved on every ->get()
Lazy. Will not be resolved before used. (virtual proxy)
Mix and match as you please:
equivalent to:
Performance
Recipies
Full automatic cached container and proxies
The easist way to make use of caching.
Be aware, that once a cache has been written, it has to be manually deleted in order to be renewed. This setup is usually not very useful in development.
Generate compiled container
This can be used in a compile script during startup of build phase.
Generic example
Generic example using configuration, container and router.
Generic compiler example
Compiler example for the example above
All versions of di with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4.0
psr/container Version ^1.0 || ^2.0
psr/log Version ^1.1
fas/autowire Version ^0.2
opis/closure Version ^3.6
ocramius/proxy-manager Version ^2.11
fas/exportable Version ^0.2
psr/container Version ^1.0 || ^2.0
psr/log Version ^1.1
fas/autowire Version ^0.2
opis/closure Version ^3.6
ocramius/proxy-manager Version ^2.11
fas/exportable Version ^0.2
The package fas/di contains the following files
Loading the files please wait ....