Answer the question
In order to leave comments, you need to log in
Is there an analog model in Laravel?
Hello.
In laravel, all manuals recommend validating data through requests, but what if I need validation in the console call to initialize the request? Many requests for each of the entities, the data from which I have to validate ? Is there an analogue of model from yii so that I can only check data (like my form) ?
Answer the question
In order to leave comments, you need to log in
https://laravel.com/docs/5.6/validation
the validator is the same for everyone, maybe you just don’t need to use it in http controllers, since you need to pull it from the console?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question