Created
February 19, 2018 11:50
-
-
Save ansezz/a48a17d1afcfd75e57e91de57d0b9cd1 to your computer and use it in GitHub Desktop.
Clear Laravel Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
echo '*** Clear Laravel Application ***' | |
echo '** Remove the compiled class file **' | |
php artisan clear-compiled | |
echo '** Flush expired password reset tokens **' | |
php artisan auth:clear-resets | |
echo '** Flush the application cache **' | |
php artisan cache:clear | |
echo '** Remove the configuration cache file **' | |
php artisan config:clear | |
echo '** Remove the route cache file **' | |
php artisan route:clear | |
echo '** Clear all compiled view files **' | |
php artisan view:clear | |
echo '** composer dump autoload **' | |
composer dump-autoload | |
echo '* Done *' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run