Converts Laravel Service Providers to Zapheus providers.
Install Illuminate Bridge
via Composer:
$ composer require zapheus/illuminate-bridge
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);
Please see CHANGELOG for more information what has changed recently.
$ composer test
The MIT License (MIT). Please see LICENSE for more information.