shameerc/slim3-aura-di

An extension of Aura.Di to use with Slim 3

1.0.1 2016-05-10 14:21 UTC

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.