Answers for "get controller adn method from route functon laravel"

3

laravel route controller

use App\Http\Controllers\UserController;

Route::get('user/{id}', [UserController::class, 'show']);
Posted by: Guest on November-29-2020
1

laravel routing controller get and post method

Route::match(['GET', 'POST'], '/page-name', [App\Http\Controllers\NameController::class, 'index']);
Posted by: Guest on June-04-2021

Code answers related to "get controller adn method from route functon laravel"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language