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

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -