Reputation: 1
Dynamically Loading a Laravel Package Without Composer Dump-Autoload
I have a Laravel package located in the packages/
directory, and I want to load and register it dynamically without manually running composer dump-autoload
or any CLI commands.
Requirements:
/discover-package
).Question:
Has anyone implemented a similar solution? What is the best way to achieve this dynamically in Laravel?
Upvotes: 0
Views: 28