Support the ongoing development of →
posted 8 years ago
Last updated 2 years ago.

Thx, @godjen99. I've seen that but i don think it helps. I'm developing a laraval package and I want to register it automatically (in mypackageServiceProvider.php) so the user won't need to configure config/app.php in the root folder. Is there any way to do that?


I've never tried to bypass the package installation process. Evey package I've ever installed that needed a service provider, I had to add to the list or use the App::register('Namespace/To/Class')method.

Might be a tricky process since your project would need to somehow know that a particular service provided needs booting.

Good luck!


Sign in to participate in this thread!


Your banner here too?

kherP kherp Joined 21 May 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.