This package will provide some custom validation out of the box in one single package. Using a configuration, you may create your own custom validations.
You can install the package via composer:
$ composer require digitonic/validation
$ php artisan vendor:publish --provider="Digitonic\Validation\ValidationServiceProvider"
This validator will check for the validity of a given mobile phone number in a configured country.
allowed_recipients
This validator will check the contents of a given CSV has at least one valid row.
csv
This validator will check the contents of a passed CSV file for a given key and validate that this value is a valid mobile phone number within a configured country.
phone_number_index
Check to ensure a validated string contains one or more uppercase characters.
has_uppercase
Check to ensure a validated string contains one or more lowercase characters.
has_lowercase
Check to ensure a validated string contains one or more numeric characters.
has_numeric
Check to ensure a validated string contains one or more special characters.
has_special
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.