Skip to content

Instantly share code, notes, and snippets.

@kuttumiah
Created November 21, 2018 13:28
Show Gist options
  • Save kuttumiah/c57f05f9be01061d2f974e4c4bad7fe0 to your computer and use it in GitHub Desktop.
Save kuttumiah/c57f05f9be01061d2f974e4c4bad7fe0 to your computer and use it in GitHub Desktop.
Clean up temporary files in laravel project
#!/bin/bash
# clean all temporaty files of a laravel application
# place this file at the root of the project and make it executable
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan clear-compiled
php artisan config:cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment