Please Disable Your Browser Adblock Extension for our site and Refresh This Page!

our ads are user friendly, we do not serve popup ads. We serve responsible ads!

Refresh Page
Skip to main content
On . By CodimTh
Category:

Maintenance Mode in Laravel


If you want to enable maintenance mode on your page, execute the down Artisan command:


php artisan down

Then people would see default 503 status page.

You may also provide flags:
- message that would be shown
- retry page reload every X seconds
- still allow the access to some IP address

php artisan down --message="Upgrading Database" --retry=60 --allow=127.0.0.1

 

When you've done the maintenance work, just run


php artisan up

Comments

Add new comment

Restricted HTML

Search

Page Facebook

Become a patron

If you need some help or you search a Drupal freelancer don't hesitate to contact us.

 

Contact Us

All the content is FREE but I still need your help

 

Become a patreon