Complete the code to enable maintenance mode in Laravel.
php artisan [1]Use php artisan down to enable maintenance mode in Laravel.
Complete the code to disable maintenance mode in Laravel.
php artisan [1]Use php artisan up to disable maintenance mode and bring the app back online.
Fix the error in the command to enable maintenance mode with a secret bypass token.
php artisan down --secret=[1]The --secret option requires a token string. 'token' is a common example.
Fill both blanks to customize the maintenance mode response with a retry time and a message.
php artisan down --retry=[1] --message="[2]"
The --retry option sets retry time in seconds (e.g., 30). The --message option sets a custom message.
Fill all three blanks to enable maintenance mode with IP bypass, secret token, and retry time.
php artisan down --allow=[1] --secret=[2] --retry=[3]
The --allow option specifies an IP address allowed to bypass maintenance mode (e.g., '10.0.0.1'). The --secret is a token string, and --retry is retry time in seconds.