I’m working on a SaaS application built with Laravel that uses over 200 custom packages as addon functionalities. The application has super admin and company roles, where the super admin provides basic functionalities plus addons with monthly payouts by the company.
Our current setup takes about 4 to 6 seconds to load the application, which is significantly slowing down user experience. We initially used Laravel’s nwidart module package to manage these addons, but after converting them into Laravel packages, the load time issue persists. Here’s a demo link to the application. –https://dash-demo.workdo.io/login
I am looking for solutions to either:
Reduce the overall application load time.
Implement a system where packages are loaded based on authenticated users (e.g., only loading relevant packages for the logged-in user).
Has anyone encountered a similar issue or can suggest best practices for handling such a large number of packages efficiently in Laravel?
Any guidance or suggestions would be greatly appreciated.
Tried with laravel packages but it take to load
hepin 11 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.