2
🔥 You can use the boolean() / date() / string() methods on the Request object instead of manually type-casting request parameters
⚡️ Instead of explicitly type-casting or wrapping request parameters, you can use some of Laravel's utility methods on the Request object. It comes with a boolean() helper, date() helper and a string() / str() helper!