Skip to content
Simple Kohana3 module for bit.ly shortening API
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
classes
config
README.md

README.md

Kohana module wrapping bit.ly's shorten method.

Usage

$short_url = Bitly::instance()->shorten($long_url);

If there is an error, (rate limit exceeded, etc.) the original (long) URL is returned and the error is logged.

Something went wrong with that request. Please try again.