askual / bilbila
ethiopian phone number formatter
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/askual/bilbila
Requires (Dev)
- phpunit/phpunit: 8.0.0
This package is not auto-updated.
Last update: 2025-10-12 11:42:16 UTC
README
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.
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.