Support the ongoing development of Laravel.io →
Configuration Cache

When I run the artisan optimize command, where is the compiled file generated ? In the vendor folder I can see an autoload.php file with this content:

require_once __DIR__ . '/composer' . '/autoload_real.php';

return ComposerAutoloaderInitf2f13408c461424e06616c3f0abd4c35::getLoader();

but this the one generated by composer, what about the result of the artisan optimize command ?

Last updated 3 years ago.
0

/bootstrap/cache/compiled.php

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

dnhost dnhost Joined 25 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.