zapheus/symfony-bridge

Symfony Bundle bridge for Zapheus framework.

dev-master / 1.0.x-dev 2020-10-21 09:59 UTC

This package is auto-updated.

Last update: 2024-10-29 04:58:58 UTC


README

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.