zapheus / illuminate-bridge
Laravel Service Provider bridge for Zapheus framework.
dev-master / 1.0.x-dev
2020-10-07 10:33 UTC
Requires
- php: >=5.3.0
- illuminate/config: ~4.1|~5.0
- illuminate/container: ~4.1|~5.0
- illuminate/support: ~4.1|~5.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-11-07 19:23:54 UTC
README
Converts Laravel Service Providers to Zapheus providers.
Installation
Install Illuminate Bridge
via Composer:
$ composer require zapheus/illuminate-bridge
Basic Usage
use Acme\Providers\AuthServiceProvider; use Acme\Providers\RoleServiceProvider; use Zapheus\Bridge\Illuminate\BridgeProvider; use Zapheus\Container\Container; $providers = array(AuthServiceProvider::class, RoleServiceProvider::class); $provider = new BridgeProvider((array) $providers); $container = $provider->register(new Container); $illuminate = $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.