Support the ongoing development of Laravel.io →
posted 8 years ago
Packages
Last updated 1 year 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!

Eventy

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.

© 2024 Laravel.io - All rights reserved.