Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

laravel route sub domain routing

Route::domain('{account}.myapp.com')->group(function () {
    Route::get('user/{id}', function ($account, $id) {
        //
    });
});
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #route #domain #routing
ADD COMMENT
Topic
Name
8+7 =