collective/aura-di-slim

Aura.Di 3 setup for Slim Framework

1.0.0-beta3 2015-12-30 00:59 UTC

This package is not auto-updated.

Last update: 2020-02-21 16:39:41 UTC


README

Installation

It's recommended that you use Composer to install Aura.Di Slim Container.

composer require collective/aura-di-slim

Usage

Basic Setup

$container = Collective\AuraDiSlim\ContainerBootstrap::setup();
$app = new Slim\App($container);

Advanced Setup with auto-wiring

$container = Collective\AuraDiSlim\ContainerBootstrap::setup(true);
$app = new Slim\App($container);

Credits

License

Aura.Di Slim Container is licensed under the MIT license. See License File for more information.