The Requests folder in Laravel 5.3 is gone. Where should the customized Request rules be placed?
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-16 16:50:53
0
2
423

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?

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
仅有的幸福
  • 5.3 just deletes some infrequently used (or blank) folders

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

淡淡烟草味

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!