fabriscorol / bj_phone_number
A minimal module to validate Beninese mobile phone numbers.
dev-master / 1.0.x-dev
2019-04-01 10:54 UTC
Requires
- php: ~7.1
Requires (Dev)
- phpunit/phpunit: >=7.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2025-06-29 01:21:17 UTC
README
A minimal module to validate Beninese mobile phone numbers. Inspired by nioperas06 Python project
Structure
src/
tests/
vendor/
Install
Via Composer
$ composer require fabriscorol/bj_phone_number
Usage
$validator = new fabriscorol\BjPhoneNumber(); echo $validator->validateNumber(97970001);
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email fabrice@tohionon.net instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.