PHP Classes

Bitly-PHP: Expand or shorten URLs using the site

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 39%Total: 438 All time: 6,263 This week: 455Up
Version License PHP version Categories
bitly-php 1.0MIT/X Consortium ...5.3PHP 5, Web services


This class can be used to expand or shorten URLs using the site.

It can send HTTP requests to the site to create a new short URL that redirects to a given longer URL.

The class can also do the opposite, i.e. send a request to retrieve the original URL that is redirected when accessing a given short URL.

Picture of Igor Escobar
Name: Igor Escobar <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 36
All time rank: 3430261 in Brazil Brazil
Week rank: 289 Up22 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Accessible without login Plain text file license.txt Lic. License file of the Bitly-PHP
Plain text file bitly.php Class The main class of the Bitly-PHP

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file expand-urls.php Example How expand a shorten urls with Bitly-PHP
  Accessible without login Plain text file get-info-urls.php Example How to get more datailed information about the shorted link
  Accessible without login Plain text file shorten-urls.php Example How to shorten an url with Bitly-PHP
  Accessible without login Plain text file statistics-url.php Example How to get a detailed statistics about a shorted link

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,263
This week:455Up
User Ratings User Comments (1)
 All time
Show! ;)
14 years ago (Mateus)