Laravel 5.6 Bring site up without commands
You have to give a depper look at the Official documentation where it explains how to programmatically call the commands:
Sometimes you may wish to execute an Artisan command outside of the CLI. For example, you may wish to fire an Artisan command from a route or controller. You may use the call method on the Artisan facade to accomplish this. The call method accepts either the command's name or class as the first argument, and an array of command parameters as the second argument. The exit code will be returned:
Route::get('/foo', function () {
$exitCode = Artisan::call('email:send', [
'user' => 1, '--queue' => 'default'
]);
//
});
So, in your case you have to update your route callback:
Route::get('shut/down', function() {
Artisan::call('email:send', [
'--allow' => 'xxxx.xxxx.xxxx.xxxx' // Your ip address
]);
});
In this way, your ip address will be enabled to access to the bring/the/application/back/up
address. Anyway I would look for a different solution if you just want to simply "hide" the fronted, by creating a specific variable (configuration, database, whatever) that "hides" the website but keeps up the admin panel in order to activate/deactivate in a more easy way.