Make your models self validating, just define the validation rules in your Eloquent model. Whenever you try to create or update data with your model and if validation fails, an exception will be thrown.
Visit Resource →
Join the weekly newsletter and never miss out on new tips, tutorials, and more.
PHP (Laravel) Senior Web Developer
Senior & Mid level Laravel Developers
Environments are Laravel’s way of dealing with changes in servers, so that you can classify certain servers as…
Ever made use of Laravel’s automatic resolution feature? Ever used App::make()? If so, then you’ve benefi…