zapheus / symfony-bridge
Symfony Bundle bridge for Zapheus framework.
dev-master / 1.0.x-dev
2020-10-21 09:59 UTC
Requires
- php: >=5.3.0
- symfony/config: >=2.8.0
- symfony/console: >=2.8.0
- symfony/dependency-injection: >=2.8.0
- symfony/http-kernel: >=2.8.0
- zapheus/zapheus: ~0.1
Requires (Dev)
- phpunit/phpunit: ~4.2|~5.7
- scrutinizer/ocular: ~1.1.0
This package is auto-updated.
Last update: 2024-10-29 04:58:58 UTC
README
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.