n Maintenance Mode in Laravel | CodimTh

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

Riadh Rahmi

Senior Web Developer PHP/Drupal & Laravel

I am a senior web developer, I have experience in planning and developing large scale dynamic web solutions especially in Drupal & Laravel.

Web Posts

Search

Page Facebook