PHP code example of askual / bilbila
1. Go to this page and download the library: Download askual/bilbila 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/ */
askual / bilbila example snippets
// once '/path/to/Bilbila/src/autoload.php';
// alternatively, use another PSR-0 compliant autoloader (like the Symfony2 ClassLoader for instance)
// use the factory to create a Faker\Generator instance
$number = '0925287357';
$bilbila = new Askual\Bilbila\Generate($number);
// generate data by accessing properties
echo $bilbila->number;
// '+251825287357';
echo $bilbila->country;
// 'eth'