Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Creating a Basic Route in Laravel 8

use AppHttpControllersPagesController;

// Create route for About Page
Route::get('about-us', [PagesController::class, 'aboutPage'])->name('pages.about');
Source by devsenv.com #
 
PREVIOUS NEXT
Tagged: #Creating #Basic #Route #Laravel
ADD COMMENT
Topic
Name
6+2 =