Converts Slytherin Integrations to Zapheus providers.
Install Slytherin Bridge
via Composer:
$ composer require zapheus/slytherin-bridge
use Acme\Integrations\AuthIntegration;
use Acme\Integrations\RoleIntegration;
use Rougin\Slytherin\Container\Container;
use Zapheus\Bridge\Slytherin\BridgeProvider;
use Zapheus\Container\Container;
$providers = array(new AuthIntegration, new RoleIntegration);
$provider = new BridgeProvider($providers);
$container = $provider->register(new Container);
$slytherin = $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.