Skip to content

naive17/php-bitly

 
 

Repository files navigation

php-bitly (but async)

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"

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%