{"repo":"dwightwatson/validating","free":true,"listed":false,"github":"https://github.com/dwightwatson/validating","clone":"git clone https://github.com/dwightwatson/validating.git","description":"Automatically validating Eloquent models for Laravel","language":"PHP","stars":973,"topics":["laravel","eloquent","validation","php"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Validating, a validation trait for Laravel ========================================== Validating is a trait for Laravel Eloquent models which ensures that models meet their validation criteria before being saved. If they are not considered valid the model will not be saved and the validation errors will be made available. Validating allows for multiple rulesets, injecting the model ID into unique validation rules and raising exceptions on failed validations. It's small and flexible to fit right into your workflow and help you save valid data only. Laravel 4.2+ Looking to use Validating on Laravel 4.2+? Take a look at the 0.10.x branch for documentation and installation instructions. The Laravel 4.2 version is better suited to doing form validation; it supports custom validation messages, confirmation rules and multiple rulesets. Because Laravel 5.0 has FormRequest validation Validating is now designed to keep your core data valid and leave form validation to the framework. Laravel 5.0 - 5.2 Looking to use Validating on Laravel 5.0 to 5.2? Take a look at the 2.x branch for documentation and installation instructions. The Laravel 5.0 - 5.2 version used a since-deprecated ValidationException contract from the Laravel framework. For Laravel 5.3 we now extend the core validation ValidationException which means the framework will automatically redirect back with errors when a validation error occurs, much like a FormRequest would. Laravel 5.3+ Just read on - these instructions are ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dwightwatson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dwightwatson/validating/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}