Skip to content

Slytherin Integration bridge for Zapheus framework.

License

Notifications You must be signed in to change notification settings

zapheus/slytherin-bridge

Repository files navigation

Slytherin Integration Bridge

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Converts Slytherin Integrations to Zapheus providers.

Installation

Install Slytherin Bridge via Composer:

$ composer require zapheus/slytherin-bridge

Basic Usage

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);

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Credits

License

The MIT License (MIT). Please see LICENSE for more information.