diff --git a/README.md b/README.md index ac876f4..a11f142 100644 --- a/README.md +++ b/README.md @@ -42,6 +42,30 @@ - Run a command inside a container - `docker-compose exec [container] [command]` +### Useful Laravel Commands +- Remove the configuration cache file + - `php artisan config:clear` +- Flush the application cache + - `php artisan cache:clear` +- Clear all cached events and listeners + - `php artisan event:clear` +- Delete all of the jobs from the specified queue + - `php artisan queue:clear` +- Remove the route cache file + - `php artisan route:clear` +- Clear all compiled view files + - `php artisan view:clear` +- Remove the compiled class file + - `php artisan clear-compiled` +- Remove the cached bootstrap files + - `php artisan optimize:clear` +- Delete the cached mutex files created by scheduler + - `php artisan schedule:clear-cache` +- Flush expired password reset tokens + - `php artisan auth:clear-resets` +- Display basic information about your application + - `php artisan about` + ### Laravel Pint (Code Style Fixer | PHP-CS-Fixer) - Format all files - `./vendor/bin/pint` diff --git a/composer.json b/composer.json index c5d2b2e..26a3125 100644 --- a/composer.json +++ b/composer.json @@ -50,6 +50,7 @@ "composer install", "php -r \"file_exists('.env') || copy('.env.example', '.env');\"", "php artisan key:generate", + "php artisan config:cache", "npm install", "npm run build" ]