iamwizzdom / netty-finder-php
Check a Nigerian telephone number and detect which network it belongs to.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/iamwizzdom/netty-finder-php
Requires
- php: ~7.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is auto-updated.
Last update: 2025-12-10 12:33:25 UTC
README
This is a PHP version of the original netty-finder that was written in JavaScript
Installation
GitHub
$ git clone https://github.com/iamwizzdom/netty-finder-php.git
$ cd netty-finder-php
$ composer install
PHP
$ composer require iamwizzdom/netty-finder-php
Usage
require 'vendor/autoload.php'; $detector = new Netty\NetworkDetect("09014048764"); $networkName = $detector->getNetworkName(); $numberPrefix = $detector->getNumberPrefix(); echo $networkName; //--> Airtel echo $numberPrefix; //--> 0901
About Author
This was originally built by Bolaji Ayodeji so all rights goes to him, I only rewrote the library in PHP with a little modification to accept phone numbers with country code.
Contribution
For now, I dont accept contributions except its from the javascript netty_finder, so I suggest you contribute there. Any changes from there will be added to the PHP version.