leadthread/php-bitly
Composer 安装命令:
composer require leadthread/php-bitly
包简介
Easily shorten URLs in PHP
README 文档
README
Version 3 now uses OAuth2 as required by Bitly. Get your developer access token here
Installation
Install via composer - In the terminal:
composer require leadthread/php-bitly
Usage
use LeadThread\Bitly\Bitly; $c = new Bitly("access token"); $result = $c->shorten("https://www.google.com/"); var_dump($result); // string(21) "http://bit.ly/1SvUIo8"
统计信息
- 总下载量: 16.68k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-20