Download the PHP package davidianbonner/cli-phone-number-validator without Composer
On this page you can find all versions of the php package davidianbonner/cli-phone-number-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davidianbonner/cli-phone-number-validator
More information about davidianbonner/cli-phone-number-validator
Files in davidianbonner/cli-phone-number-validator
Package cli-phone-number-validator
Short Description CLI Phone Number Validator using Google's libphonenumber.
License MIT
Informations about the package cli-phone-number-validator
A CLI Phone Number Validator
Installation
Install the application with composer:
To create a standalone PHAR of the application for deployment, run:
This will output a .PHAR to the build
directory.
Usage
The validator comes with a pre-built GB & Channel Islands mobile command: validate:uk-mobile
. There are two ways to process and validate numbers:
List source
Pass a list of phone numbers to the validator.
File source
Pass a file with a phone number per-line.
Output directory
An output directory is required when using the standalone .PHAR:
Adding new validators
New validators can be added with minimal effort. First create a new command in app/Commands
and extends the BaseValidatorCommand
.
License
CLI Phone Number Validator is an open-sourced software licensed under the MIT license.
All versions of cli-phone-number-validator with dependencies
giggsey/libphonenumber-for-php Version ^8.8
laravel-zero/framework Version 4.0.*
vlucas/phpdotenv Version ^2.4