Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jantolentino's avatar

Why was Autoloader Optimization section removed in 11.x docs?

I was re-reading the deployment page in Laravel and noticed laravel[dot]com/docs/10.x/deployment#autoloader-optimization is missing in laravel[dot]com/docs/11.x/deployment#optimization. Is there any particular reason why it was removed?

New here. Can't attach link :'(

0 likes
1 reply
mjoris's avatar

Probably because the "optimize-autoloader" flag is set true in Laravel's composer.json file.

github[dot]com/laravel/laravel/blob/11.x/composer.json#L61

So the autoloader optimization is performed automatically when calling "composer install"

Please or to participate in this conversation.