snippet

Using multiple keys for route model binding

By default, Laravel uses one key for route model binding lookup. When you need to use two or more, this is how to do it.

Watch this snippet

1. Using multiple keys for route model binding

04:11
  • 4 mins
  • Released 6 months ago