php - Class does not exist laravel 5.3 -


namespace myapp\http\requests; use illuminate\foundation\http\formrequest; class createadmingroup extends formrequest { public function authorize() {     return false; }  public function rules() {     return [         //     ]; } } 

my controller:

 namespace myapp\http\controllers\administration\resource;   use myapp\http\requests\admin\admin\createadmingroup; 

but error class swapsome\http\requests\admin\admin\createadmingroup not exist

why error, request there, shuold good. request in app\http\requests\admin\admin\ folder

thank you!

change request's namespace to: namespace myapp\http\requests\admin\admin;


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -