Support the ongoing development of Laravel.io →
posted 7 years ago
Packages
Last updated 6 months ago.
0

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?

0

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!

0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

kherP kherp Joined 21 May 2015

Moderators

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

Your logo here?

Laravel.io

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

© 2022 Laravel.io - All rights reserved.