🔥 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.
Other tips:
🔥 Laravel tip: Dispatch after response
Mar 20, 2022