Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple Kohana2 module for bit.ly shortening API
PHP
Branch: master
Pull request Compare This branch is 4 commits ahead of dleavitt:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
libraries
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.