Laravel Routing: Route Model Binding
Route Model Binding
Implicit Binding
Laravel automatically resolves Eloquent models defined in routes or controller actions whose type-hinted variable names match a route segment name.
Laravel automatically inject the model instance that has an ID matching the corresponding value from the request URI.
Explicit Binding
Related concepts
→
Route Model Binding
→
Semantic portal