fastwebmedia/uk-mobile-validator

Checks and formats numbers into valid UK Mobile Numbers (In Local and International Format)

Installs: 1 447

Dependents: 0

Stars: 0

Watchers: 13

Forks: 0

Open Issues: 0

2.0 2015-02-26 11:16 UTC

README

Build Status

Installation

composer require fastwebmedia/uk-mobile-validator

Usage

$isValid = UKMobileValidator::validMobileNumber($mobileNumber);

if ($isValid) {
    echo 'I am valid';
} else {
    echo 'I am invalid';
}