In this episode of the Quick Win Wednesday series, I’ll have a look at how to use flexible caching in Laravel. A great way to avoid unhappy users who’ll hit invalid cache.
PHP
#[RouteParameter] Does Not Bind Your Model
Michael Dyrynda explains a subtle Laravel gotcha: #[RouteParameter] only reads the current route parameter value, it does not perform implicit model binding. Good reminder that the controller signature still matters when you expect a bound Read more…