Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Simple Kohana2 module for bit.ly shortening API

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 libraries
Octocat-spinner-32 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.