askual/bilbila
Composer 安装命令:
composer require askual/bilbila
包简介
ethiopian phone number formatter
README 文档
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.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-02