Type the command to generate a Form Request class named StorePostRequest.
You want validation rules extracted out of the controller and into a reusable class.
Ready to try it?
Create a free account and try "Generate a Form Request Class" free for 7 days, no card required. Earn 80 XP and track your internship progress.
Already have an account? Sign in