Answers for "Creating a Basic Route in Laravel 8"

PHP
1

Creating a Basic Route in Laravel 8

use App\Http\Controllers\PagesController;

// Create route for About Page
Route::get('about-us', [PagesController::class, 'aboutPage'])->name('pages.about');
Posted by: Guest on July-03-2021
2

laravel 8 route

Route::get(
    '/user/profile',
    [UserProfileController::class, 'show']
)->name('profile');
Posted by: Guest on March-02-2021
0

how to create route in laravel

Route::match(['get', 'post'], '/', function () {
    //
});
Posted by: Guest on May-13-2021

Browse Popular Code Answers by Language