Login   Register  
PHP Classes
elePHPant
Icontem

PHP Short URL Class: Shorten URLs using different Web services APIs

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-05-05 (2 months ago) RSS 2.0 feedNot enough user ratingsTotal: 553 All time: 4,949 This week: 1,485Up
Version License PHP version Categories  
short-url 0.1.2MIT/X Consortium License5.4PHP 5, Web services
Description Author  

This class can shorten URLs using different Web services APIs.

It can take a given URL and generates a short URL using several APIs.

Currently it can generate short URL using Google goo.gl, TinyURL, Adf.ly and YouTube.

If a given short URL service fails, it may fallback to a different URL.

Picture of Andre Roque Filipe
Name: Andre Roque Filipe <contact>
Classes: 6 packages by
Country: Portugal Portugal
Age: 22
All time rank: 151321 in Portugal Portugal
Week rank: 329 Up5 in Portugal Portugal Up

  Files folder image Files  
File Role Description
Files folder imageexamples (4 files)
Files folder imagesrc (1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file LICENSE Lic. License text

  Files folder image Files  /  examples  
File Role Description
  Accessible without login Plain text file Geoplugin.md Doc. Documentation
  Plain text file Geoplugin.php Class Class source
  Accessible without login Plain text file Openweathermap.md Doc. Documentation
  Plain text file Openweathermap.php Class Class source

  Files folder image Files  /  src  
File Role Description
Files folder imageMASNathan (1 directory)

  Files folder image Files  /  src  /  MASNathan  
File Role Description
Files folder imageAPIcaller (1 file, 1 directory)

  Files folder image Files  /  src  /  MASNathan  /  APIcaller  
File Role Description
Files folder imageException (3 files)
  Plain text file APIcaller.php Class Class source

  Files folder image Files  /  src  /  MASNathan  /  APIcaller  /  Exception  
File Role Description
  Plain text file InvalidContentTypeException.php Class Class source
  Plain text file InvalidMethodException.php Class Class source
  Plain text file InvalidUrlException.php Class Class source

Downloadshort-url-2014-05-05.zip 7KB
Downloadshort-url-2014-05-05.tar.gz 4KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
PHP API Caller Download .zip .tar.gz Is used as parent class Required
 Version Control Unique User Downloads Download Rankings  
 100%Total:553All time:4,949
 This week:0This week:1,485Up
 User Comments (1)