PHP Classes

Shorten url: Shorten and expand URLs using different services

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
StarStarStar 40%Total: 485 All time: 5,920 This week: 524Up
Version License PHP version Categories
shortenurl 1.0GNU General Publi...5.0PHP 5, Web services
Description 

Author

This class can be used to shorten and expand URLs using different services.

It can send HTTP requests to the Web services API servers of different URL shortening services to perform either shortening (or expanding in the case of some of the services) of given URLs.

Currently it supports the URL shortening services: tinyurl.com, bit.ly, cli.gs, goo.gl, kl.am, is.gd, tr.im .

Picture of Carlos Miguel Guevara
  Performance   Level  

 

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file index.php Example Example of usage
Plain text file shortenurl.class.php Class Main class
Accessible without login HTML file shorturl_documentation.html Doc. The single file documentation

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:485
This week:0
All time:5,920
This week:524Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:58%StarStarStar
Tests:-
Videos:-
Overall:40%StarStarStar
Rank:3771