PHP Classes

Bitly-PHP: Expand or shorten URLs using the bit.ly site

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

Author

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

It can send HTTP requests to the bit.ly 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 bit.ly short URL.

Picture of Igor Escobar
Name: Igor Escobar <contact>
Classes: 1 package by
Country: Brazil Brazil

  Files folder image Files (6)  
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 (6)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:438
This week:0
All time:6,268
This week:455Up
User Ratings User Comments (1)
 All time
Utility:58%StarStarStar
Consistency:58%StarStarStar
Documentation:-
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:39%StarStar
Rank:3861
 
Show! ;)
15 years ago (Mateus)
70%StarStarStarStar