Tag: how laravel routing works

A Step-by-Step Guide to Laravel – Routing

June 9, 2022

Basic Routing Basic routing is meant to route your request to an appropriate controller. The routes of the application can be defined in the app/Http/routes.php file. Here is the general route syntax for each of the possible requests. Route::get('/', function () { return 'Hello World'; }); Route::post('foo/bar', function ()...

Read More