I'm looking for a dead simple password protection solution (username and password stored as key-value pair in array) to a domain (example.com/demo). I know this is bad practice in production but this is just a quick demo to someone. The code I have currently is pretty trivial stuff:
Route::group(['prefix' => 'demo', 'before' => 'auth.basic'], function() {...});
Would I have to create my own filter? How would I set it so the filter only works in production?