Skip to content

Latest commit

 

History

History
69 lines (48 loc) · 2.43 KB

README.md

File metadata and controls

69 lines (48 loc) · 2.43 KB

Symfony Bundle Bridge

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

Converts Symfony Bundles to Zapheus providers.

Installation

Install Symfony Bridge via Composer:

$ composer require zapheus/symfony-bridge

Basic Usage

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

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.