Hey, my book is finally available. Find it here.  Eloquent Beyond The Basics!

🔥 Laravel Tip: Customizing The Resolution Logic

Apr 18, 2022

You can define how your model gets bound by overwriting the resolveRouteBinding in your model class.

For example, if you need to resolve a model with two separate fields.
tip-image-0