Laravel 5 maintenance mode turn on without artisan
<p>Is there any possibility to turn on and turn off Laravel 5 maintenance without php artisan up and down commands when my website is being hosted ?</p>

<p>What I've done: </p>

<pre><code>Route::get('site/shutdown', function(){
    return Artisan::call('down');
});

Route::get('site/live', function(){
    return Artisan::call('up');
}); 
</code></pre>

<p>The first route is working fine. But when I call site/live the site still is shuted down. What can cause this problem ? </p>