devtoolboxuk/simplevalidator

Simple Data Validator

1.0.1 2019-03-03 18:21 UTC

This package is auto-updated.

Last update: 2024-10-29 05:11:01 UTC


README

Latest Stable Version

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

@DevToolboxUk.

License

MIT © DevToolboxUk