Laravel - Generating bootstrap/compiled.php without invoking the composer dump-autoload --optimize Laravel - Generating bootstrap/compiled.php without invoking the composer dump-autoload --optimize laravel laravel

Laravel - Generating bootstrap/compiled.php without invoking the composer dump-autoload --optimize


Looking at the code, it seems that there is no way to do that. But I changed the code to provide an option and made a pull request: https://github.com/laravel/framework/pull/3708.

EDIT

Pull request merged. Now you can run:

php artisan optimize --psr