search

Home  >  Q&A  >  body text

The Requests folder in Laravel 5.3 is gone. Where should the customized Request rules be placed?

There was an AppHttpRequests folder in 5.2 and before, and there was Request.php in it. If you want to customize a StoreArticlesRequest, you can put it in this directory. Now there is no such directory in 5.3. Where should it be placed?

曾经蜡笔没有小新曾经蜡笔没有小新2738 days ago424

reply all(2)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 16:52:53

    • 5.3 just deletes some infrequently used (or blank) folders

    • The newly created Request file can still be placed in the AppHttpRequestsfolder

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-05-16 16:52:53

    php artisan make:request TestRequest You can view the directory of Request. It is the same as mentioned above. It only excepts the department default directory, but the directory has not changed

    reply
    0
  • Cancelreply