BitlyPHP is a PHP library for the Bit.ly API and it was created to allow PHP developers to shorten or expand Bit.ly links via the Bit.ly REST API.
It can also be utilized to retrieve statistics about a shortened link as well. BitlyPHP queries are authenticated and the response is returned in JSON format. Works with the latest version of the API, v3. BitlyPHP even includes support for j.mp links.
- PHP's cURL extension
- PHP's JSON extension
- Bit.ly API key