Laravel Artisan General Command: The clear-compiled Command

December 7, 2016 —John Koster

The clear-compiled command is used to clear the compiled classes and services application cache. These two files are located in the bootstrap/cache/ directory. The compiled classes cache is stored in a file named compiled.php and the services cache is stored in a file named services.php. This command will remove both of these files if they exist.

The following demonstrates how to use the clear-compiled command:

1php artisan clear-compiled

Some absolutely amazing

The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.