fireguard/url-shortener
Composer 安装命令:
composer create-project fireguard/url-shortener
包简介
Url Shortener.
关键字:
README 文档
README
Installation
This Package can be installed through the composer.
In order for the package to be automatically added to your composer.json file, run the following command:
composer require fireguard/url-shortener
Or if you prefer, add the following snippet manually:
{
"require": {
...
"fireguard/url-shortener": "^0.1"
}
}
Usage
Basic instructions for usage.
Google URL Shortener
Generate Google API Key
https://developers.google.com/console/help/generating-dev-keys
$google = new GoogleUrlShortener('YOUR_GOOGLE_KEY'); $url = $google->shorten('https://google.com.br/');
ToLy URL Shortener
$toLy = new Fireguard\UrlShortener\ToLyUrlShortener(); $url = $toLy->shorten('https://google.com.br/');
统计信息
- 总下载量: 34
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-05-18