Laravel optimization

So I've heard, because Laravel is easy to develop, it loads a whole bunch of dependancies which may or may not be needed. I want to optimize Laravel for the sake of better performance, and I wonder if there's any plugins I could utilize so as to find out and remove unwanted Laravel classes/services to suit exactly my own needs?

Answer:

use these commands in terminal-
composer dump-autoload -o
php artisan optimize
-o flag create the optimized autoload file.

if you are on debuging mode :: on you laravel project directory
run
php artisan optimize --force
else
run
php artisan optimize on you project folder
(It will optimize Laravel Framework for Better Performance as much as possible)
Previous
Next Post »
0 Komentar