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

🔥 Laravel tip: Customizing Missing Model Behavior in route model bindings

Apr 5, 2022

By default, Laravel throws a 404 error when it can't bind the model, but you can change that behavior by passing a closure to the missing method.