Laravel Package DRYVal
Published on by Eric L. Barnes
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.