nguyenanhung/script-check-3g-viettel
Composer 安装命令:
composer require nguyenanhung/script-check-3g-viettel
包简介
Library check 3g Viettel
README 文档
README
Script check 3G Viettel
Library detect carrier Vietnam telco: Viettel
Installation
Manual install
Step 1: Save library to your project
cd /your/to/path
wget https://github.com/nguyenanhung/Script-Check-3G-Viettel/archive/master.zip
unzip master.zip
Step 2: Init to Project
<?php require '/your/to/path/Viettel.php'; use \nguyenanhung\VnTelcoViettel\Viettel; use \nguyenanhung\VnTelcoViettel\Ip; $ip = new Ip(); $viettel = new Viettel();
Install with composer
Step 1: Install package
composer require nguyenanhung/script-check-3g-viettel
Step 2: Init to Project
<?php require '/your/to/path/vendor/autoload.php'; use \nguyenanhung\VnTelcoViettel\Viettel; use \nguyenanhung\VnTelcoViettel\Ip; $ip = new Ip(); $viettel = new Viettel();
How to Use
Example use
<?php require '/your/to/path/vendor/autoload.php'; use \nguyenanhung\VnTelcoViettel\Viettel; use \nguyenanhung\VnTelcoViettel\Ip; $ip = new Ip(); $viettel = new Viettel(); $getVersion = $viettel->getVersion(); // Print 2.0 $getCurrentIp = $ip->getIpAddress(); // Show Your IP $checkViettel = $viettel->isViettel(); // True if Viettel, False if not
Very easy and simple
Contact
If any quetion & request, please contact following infomation
| Name | Skype | ||
|---|---|---|---|
| Hung Nguyen | dev@nguyenanhung.com | nguyenanhung5891 | @nguyenanhung |
From Hanoi with Love <3
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2018-10-06