December 7, 2016 —John Koster
The view:clear
command is used to quickly remove all of the compiled view files from the application. This is done by removing all the files from the configured view storage directory (by default this is the storage/framework/views/
directory).
The following example demonstrates the usage of the view:clear
command:
1# Clear all the compiled view files.2php artisan view:clear
∎
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.