Join 25,000+ Laravel Developers and join the free Laravel Newsletter
Laravel Tutorials / updated: August 06, 2014

Optimizing for production with Laravel 4

Andreas Lutro gives some tips for optimizing a Laravel app for production:

When debug is set to false in app/config/app.php, Laravel’s Artisan function php artisan optimize will do two things: Run the composer dump-autoload –optimize command, as well as generate the file bootstrap/compiled.php. This file contains a lot of the common Laravel framework class files, and allows for the system to just require one file even though the framework is in reality split into many hundreds of files.

This appeared first on Laravel News

Visit Resource →

Laravel News Partners


Join the weekly newsletter and never miss out on new tips, tutorials, and more.