Why treat all user input as strings when you can pull out specific values from Laravel's Request object and automatically cast them as the types you're expecting?
https://securinglaravel.com/security-tip-casing-request-values/ #Laravel
https://securinglaravel.com/security-tip-casing-request-values/ #Laravel
Comments