Your Teacher | Jeffrey Way's avatar
Hi, I'm Jeffrey. I'm the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts. I live in Orlando, Florida with my wife and two kids.

About This Episode

Published on Mar 6th, 2020

Laravel 7 includes some useful improvements to route model binding. You may now specify a custom route key name without adding a getRouteKeyName() method to the associated model. Instead, simply add the custom key as part of the route declaration: /posts/{post:slug}. Additionally, when specifying custom keys, Laravel will automatically scope them to a parent relationship if relevant.

Discuss It


    1. EPISODE 1 11:50 Free
    2. EPISODE 2 4:28 Free
    3. EPISODE 5 8:26 Free
    4. EPISODE 6 19:13 Free
Back to Series Button