Maybe you could do something like this:
Route::prefix('panel')->group(function(){
Route::get('/{url?}', function () {
//redirect or return view here
})->where(['url' => 'administrator']);
});
Adding another route like 'administrator2' would be:
->where(['url' => 'administrator|administrator2'])
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…