Download the PHP package jaspaul/eloquent-model-validation without Composer
On this page you can find all versions of the php package jaspaul/eloquent-model-validation. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jaspaul/eloquent-model-validation
More information about jaspaul/eloquent-model-validation
Files in jaspaul/eloquent-model-validation
Download jaspaul/eloquent-model-validation
More information about jaspaul/eloquent-model-validation
Files in jaspaul/eloquent-model-validation
Vendor jaspaul
Package eloquent-model-validation
Short Description A simple package that provides a venue for model validation in Laravel.
License MIT
Package eloquent-model-validation
Short Description A simple package that provides a venue for model validation in Laravel.
License MIT
Please rate this library. Is it a good library?
Informations about the package eloquent-model-validation
Eloquent Model Validation
This package is an experiment in introducing the concept of active record validations to Laravel.
Install
Via Composer
Requirements
The following versions of PHP are supported by this version.
- PHP 7.2
- PHP 7.3
- PHP 7.4
Configuration
Option 1
Extend the validation model instead of Eloquent\Model.
Option 2
Override Eloquent
in config/app.php
Now you can just do the following:
Option 3
Update your classes to implement Validatable using the Validates trait provided. You can use this option if extending the provided model isn't an option in your project.
Usage
Now if you were storing your model:
All versions of eloquent-model-validation with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
illuminate/support Version ^6.0
illuminate/database Version ^6.0
illuminate/validation Version ^6.0
illuminate/support Version ^6.0
illuminate/database Version ^6.0
illuminate/validation Version ^6.0
The package jaspaul/eloquent-model-validation contains the following files
Loading the files please wait ....