Converts Silex Service Providers to Zapheus providers.
Install Silex Bridge
via Composer:
$ composer require zapheus/silex-bridge
use Acme\Providers\AuthServiceProvider;
use Acme\Providers\RoleServiceProvider;
use Zapheus\Bridge\Silex\BridgeProvider;
use Zapheus\Container\Container;
$providers = array(new AuthServiceProvider, new RoleServiceProvider);
$provider = new BridgeProvider((array) $providers);
$container = $provider->register(new Container);
$pimple = $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.