PHP code example of iamwizzdom / netty-finder-php

1. Go to this page and download the library: Download iamwizzdom/netty-finder-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

iamwizzdom / netty-finder-php example snippets




$detector = new Netty\NetworkDetect("09014048764");

$networkName = $detector->getNetworkName();
$numberPrefix = $detector->getNumberPrefix();

echo $networkName; //--> Airtel
echo $numberPrefix; //--> 0901

bash
$ git clone https://github.com/iamwizzdom/netty-finder-php.git
$ cd netty-finder-php
$ composer install
bash
$ composer