poovarasudev / lara-rules
A package that provides a library of reusable Laravel validation rules
1.0.0
2021-02-07 09:14 UTC
Requires
- php: 7.4
This package is auto-updated.
Last update: 2024-09-07 18:33:21 UTC
README
This package provides a library of reusable request validation rules for your Laravel projects.
Installation
Install the package using composer.
composer require poovarasudev/lara-rules
Usage
As per the Laravel documentation, simply use the respective rule as per the need.
If the validation fails, the package will respond with a localized error message. If the key does not exist, it will return hard-coded English language errors.
Available rules
The following validation rules are currently available: