devtoolboxuk / simplevalidator
Simple Data Validator
Installs: 3 671
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires (Dev)
- phpunit/phpunit: 4.*
This package is auto-updated.
Last update: 2024-10-29 05:11:01 UTC
README
Table of Contents
Installation
Install Composer
$ php -r "readfile('https://getcomposer.org/installer');" | php && php composer.phar install
$ composer require devtoolboxuk/simplevalidator
Then include Composer's generated vendor/autoload.php to enable autoloading:
Usage
require 'vendor/autoload.php'; use devtoolboxuk/simplevalidator
Email Validation
$validationService = new ValidatorService(); $email = 'test@test.com'; $validationService->isEmailValid($email); //Returns Boolean
Maintainers
License
MIT © DevToolboxUk