Casting request parameters to Enums using Laravel Form Requests
5 years ago
How to use the prepareForValidation method in Form Request classes to cast request parameters to Enums.
Link: