Use the --requests flag when creating models to also create form requests
- ·
- Telegram
- ·
- Newsletter
This release of Laravel also includes a "--requests" flag when making models via Artisan. This option will create a "Store{Model}Request" and "Update{Model}Request" form request + update the controller to use those requests on their respective methods. 🔥
Thanks @PovilasKorop!