schemgr / psr11realize
Practice by Schemchuk Gregory 11-904
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3.0 || ^7.4.0 || ^8.0.0 || ^8.1.0
- psr/container: ^1.0.0
Requires (Dev)
- phpunit/phpunit: ^9.5
Provides
This package is not auto-updated.
Last update: 2024-06-25 22:13:22 UTC
README
psr11realize
Simple PSR-11 container with interesting feature - it can store dependencies localy, so you can continue executing your application after stopping it at any time
Little usage example:
$container = new Container([ 'test_key' => 'test_value' ]); $value = $container->get('test_key');