Amadeusz AnnissimoforAmadeusz Annissimo Blogamade.hashnode.netยทApr 11, 2023Using Laravel validation outside of Controllers & RequestsWhen you look at the Validator source code in Laravel, you see that it either throws a ValidationException or returns an array of validated attributes: public function validate() { throw_if($this->fails(), $this->exception, $this); return $t...LaravelAdd a thoughtful commentNo comments yetBe the first to start the conversation.