Posted On: Feb 22, 2018
The maintenance mode in a Laravel can be enabled or disabled by artisan CLI.
Laravel returns a custom view that can be displayed in all requests when the website is in a maintenance mode. Thus, it becomes easier to enable or disable an application or a website while it is still under maintenance or updating.
To enable the maintenance mode in Laravel, the following artisan command should be entered into the command line:
php artisan down
To disable the maintenance mode in Laravel, the following artisan command should be executed in the command line:
php artisan up
Never Miss an Articles from us.
There is quite a requisite for the installation of Laravel 6. And, below is the list of the required servers that are needed for the installment of it.PHP 7.2.0 version Extension of BCMath PHP J...
Composer is a tool to manage the dependency in PHP. Composer allows declaring the libraries of a project and the composer will install or update them for the user. It is not a package manager but deal...
To create a Laravel project using composer you can follow the given steps:Step 1: Point your browser address bar to https://getcomposer.org/composer.phar Step 2: Create a new Laravel project...