Route::prefix('admin')->group(function () { Route::get('/', 'AdminController@index'); Route::get('/users', 'UserController@index'); }); Route::get('/', 'PublicController@index'); Route::get('/about', 'PublicController@about');In this example, all routes in the 'admin' prefix group will start with '/admin', and all routes in the 'public' area will not have a prefix. This makes it easy to separate out the admin area from the public-facing website. This example uses the Laravel framework's built-in routing system, which is part of the larger Laravel package library.