Skip to main content

Command Palette

Search for a command to run...

How to put Laravel applications in maintenance mode?

Updated
1 min read
How to put Laravel applications in maintenance mode?

In Laravel, you can put your application into maintenance mode to perform updates or maintenance tasks without disrupting the user experience. Laravel provides an Artisan command to put your application into maintenance mode. Open a terminal and navigate to your project's root directory, then run:

php artisan down

To bring the application back online, use:

php artisan up

More from this blog

R

Raja Muhammad Asher - Senior Software Engineer - Full Stack Developer

157 posts

Full Stack Developer with a passion for building web applications. PHP, Node.js, Laravel, ExpressJS, MySQL, MongoDB. Love collaborating & making a difference