Update (#12)
This commit is contained in:
24
README.md
24
README.md
@@ -42,6 +42,30 @@
|
|||||||
- Run a command inside a container
|
- Run a command inside a container
|
||||||
- `docker-compose exec [container] [command]`
|
- `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)
|
### Laravel Pint (Code Style Fixer | PHP-CS-Fixer)
|
||||||
- Format all files
|
- Format all files
|
||||||
- `./vendor/bin/pint`
|
- `./vendor/bin/pint`
|
||||||
|
|||||||
@@ -50,6 +50,7 @@
|
|||||||
"composer install",
|
"composer install",
|
||||||
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
|
||||||
"php artisan key:generate",
|
"php artisan key:generate",
|
||||||
|
"php artisan config:cache",
|
||||||
"npm install",
|
"npm install",
|
||||||
"npm run build"
|
"npm run build"
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user