Laravel Route Implicit Binding
Route::get('api/users/{user}', function (App\User $user) {
return $user->email;
});
Cooperative Crab
Route::get('api/users/{user}', function (App\User $user) {
return $user->email;
});