Download the PHP package wok/services without Composer
On this page you can find all versions of the php package wok/services. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor wok
Package services
Short Description WOK Service provider and dependency injection
License MIT
Package services
Short Description WOK Service provider and dependency injection
License MIT
Please rate this library. Is it a good library?
Informations about the package services
Services
This library is lightweight dependency injection.
Diclaimer : This component is part of the WOK (Web Operational Kit) framework. It however can be used as a standalone library.
Install
It is recommanded to install that component as a dependency using Composer :
composer require wok/services
You're also free to get it with git or by direct download while this package has no dependencies.
git clone https://github.com/web-operational-kit/services.git
Features
While a lot of dependencies injectors have been developed (such as pimple/pimple, or league/container), this library roadmap has some specificities :
- The Services component is a dependency injector (usual).
- Depencies instances MUST be cached throughout the Services object life (that's the dependency injection pattern).
- Dependencies instances constructors CAN accept parameters without having any trouble with the previous points.
Let's see this in usage.
Usage
Basic usage
With parameters
All versions of services with dependencies
PHP Build Version
Package Version
No informations.
The package wok/services contains the following files
Loading the files please wait ....