shameerc / slim3-aura-di
An extension of Aura.Di to use with Slim 3
Installs: 16 334
Dependents: 3
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 1
Open Issues: 1
Requires (Dev)
- phpunit/phpunit: ^4.0
This package is not auto-updated.
Last update: 2024-11-09 19:04:34 UTC
README
##Slim3 Aura.Di Bridge
This library lets you to replace Pimple container in Slim framework 3 with Aura.Di
###Installation
$ composer require shameerc/slim3-aura-di
###Usage
$di = new SlimAura\Container($settings, true);
$di->set('App\Controller\HomeController', $di->lazyNew('App\Controller\HomeController'));
$app = new \Slim\App($di);
###Example Check this Slim3 Skeleton project for more example on how to use this package.