Lumen-framework: Form requests

Created on 2 Jun 2015  路  3Comments  路  Source: laravel/lumen-framework

Is there plans to add awesome Form Request from Laravel 5 to Lumen?

Most helpful comment

Sorry to comment on a closed issue, but I totally agree with @xiphiaz. Lumen is tailored to APIs, using the provided validate function in each controller works - but it's bulky. Being able to type hint requests by default would be a massive, massive help.

All 3 comments

No. You can still set them up with some ioc bindings though.

Can someone enlighten us on how we might go about enabling Form Request for lumen?

I'm building a simple REST API but would like to keep my controllers lean with typehinted request objects. It seems like an odd ommission from the leaner version of laravel that seems tailored for API's

Sorry to comment on a closed issue, but I totally agree with @xiphiaz. Lumen is tailored to APIs, using the provided validate function in each controller works - but it's bulky. Being able to type hint requests by default would be a massive, massive help.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jairobjunior picture jairobjunior  路  4Comments

rmblstrp picture rmblstrp  路  5Comments

codercms picture codercms  路  4Comments

rtheunissen picture rtheunissen  路  3Comments

hamihaa picture hamihaa  路  3Comments