How to customize "artisan down" page?

Artisan has a convenient command artisan down for an occasion when you need to put your web-project down for a while - for the case of deployment, maintenance or anything like that. Question - how to customize that temporary error page? So if you launch artisan down - visitors should see something like that in a browser: 0630_laravel_artisan_down (actually, the page is much bigger, I just resized the browser for better readability) So how do you customize it? Maybe you want to put your company logo here or some custom text like "We'll be back in 15 mins" or do something like Twitter's Fail Whale. The solution is simple - Laravel has a ready-made Blade template for you. In fact, that whole page is a template - located in resources/views/errors/503.blade.php: 0630_laravel_503_page So change HTML code here to whatever you want - and people will see your personal error message. Just don't forget to run artisan up when you want the app back live!

No comments or questions yet...

Like our articles?

Become a Premium Member for $129/year or $29/month
What else you will get:
  • 68 courses (1188 lessons, total 43 h 18 min)
  • 90 long-form tutorials (one new every week)
  • access to project repositories
  • access to private Discord

Recent New Courses