Converts Symfony Bundles to Zapheus providers.
Install Symfony Bridge
via Composer:
$ composer require zapheus/symfony-bridge
use Acme\Bundles\AcmeAuthBundle;
use Acme\Bundles\AcmeRoleBundle;
use Zapheus\Bridge\Symfony\BridgeProvider;
use Zapheus\Container\Container;
$bundles = array(new AcmeRoleBundle, new AcmeAuthBundle);
$provider = new Provider((array) $bundles);
$container = $provider->register(new Container);
$symfony = $container->get(BridgeProvider::CONTAINER);
Please see CHANGELOG for more information what has changed recently.
$ composer test
The MIT License (MIT). Please see LICENSE for more information.