Quick @laravelphp tip: The `MailMessage` class has a `when` method that’s useful to conditionally add things to the mailable. Great for adding optional lines. ð¤ pic.twitter.com/TGGb5J6zk2
— Wilbur Powery E. (@wilburpowery) February 22, 2021
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…