PHP code example of wessama / php-bin-lookup

1. Go to this page and download the library: Download wessama/php-bin-lookup 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/ */

    

wessama / php-bin-lookup example snippets


WessamA\BinLookup\ConfigLoader::loadEnv('/path/to/your/env/directory');

'providers' => [
    // ...
    WessamA\BinLookup\Providers\BinLookupServiceProvider::class,
],
shell
    composer 
shell
    git clone https://github.com/wessama/php-bin-lookup.git
    
shell
    cd php-bin-lookup
    composer install
    

php artisan vendor:publish --provider="WessamA\BinLookup\BinLookupServiceProvider"