Laravel selfregistering ServiceProvider -
in laravel 4.2 possible create package automatically registers serviceprovider without user adding path manually app.php file?
this way 1 run composer update
after adding package composer.json
file , ready go.
i think there no way register main service provider putting in app.php
file. in fact can, require developer. can't away with simple composer update
.
you can register sub service providers app::register('myapp\providers\myserviceprovider');
inside package.
Comments
Post a Comment