kobas/bitly-api-php
Composer 安装命令:
composer require kobas/bitly-api-php
包简介
PHP library to get a short url via a generic access token from bit.ly
README 文档
README
This package:
- Provides an easy way to get bit.ly to shorten a URL using their v4 API.
- Only supports using Bit.ly Generic Access Tokens.
Installation
To install, use composer:
composer require kobas/bitly-api-php
Usage
$bitly = new \Kobas\Bitly\Bitly('YOUR_ACCESS_TOKEN'); $url = $bitly->shortenUrl('https://google.com'); echo $url;
Licensing
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-06