Skip to content

Silex Service Provider bridge for Zapheus framework.

License

Notifications You must be signed in to change notification settings

zapheus/silex-bridge

Repository files navigation

Silex Service Provider Bridge

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

Converts Silex Service Providers to Zapheus providers.

Installation

Install Silex Bridge via Composer:

$ composer require zapheus/silex-bridge

Basic Usage

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

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.

About

Silex Service Provider bridge for Zapheus framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages