Open saeedvaziry opened 2 weeks ago
Blocked by #297
Related Commands: php artisan config:cache – Caches the configuration files. php artisan route:cache – Caches the routes for better performance. php artisan view:clear – Clears compiled views.
Maintenance Mode (Up/Down) Command: php artisan down Description: Puts the application into maintenance mode, preventing users from accessing it while updates or changes are being made. Use Case: Ideal for major updates or database migrations. Command: php artisan up Description: Brings the application back online after maintenance.
Queue Management Command: php artisan queue:restart Description: Restarts queue workers to apply changes to the application or queue configurations. Use Case: Use when you update code that is being processed by workers.
Command: php artisan queue:failed Description: Shows a list of all failed jobs in the queue. Command: php artisan queue:flush Description: Deletes all failed queue jobs. Command: php artisan queue:work Description: Starts processing jobs in the queue.
Custom Commands Command: php artisan make:command CustomCommandName Description: Creates a new custom Artisan command that can be used for specific application tasks. Use Case: Useful for adding tailored functionality to your Laravel application, such as scheduled tasks or batch processing.
Database Commands Command: php artisan migrate Description: Runs all outstanding migrations. Command: php artisan migrate:rollback Description: Rolls back the last database migration.
Other Useful Commands Command: php artisan serve Description: Starts a local development server. Command: php artisan tinker Description: Opens an interactive shell for running Laravel/PHP code in real-time.
From: https://vitodeploy.featurebase.app/p/laravel-commands
Create a new section in the sites to support Laravel artisan commands like: