Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.14 KB

Readme.md

File metadata and controls

48 lines (31 loc) · 1.14 KB

Bilbila

Bilbila is a simple PHP library that analyzes a given phone number and gives necessary info about it. If you are wondering why we developed this library you can read our blog article here

Bilbila requires PHP >= 5.3.3.

[Bilbila Logo]

Table of Contents

Installation

composer require askual/bilbila

Basic Usage

Use Askual\Bilbila\Generate($phoneNumber) to create a bilbila object.

<?php
// require the Faker autoloader
require_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'

License

Bilbila is released under the MIT Licence. See the bundled LICENSE file for details.