PHP Classes short URL: Shorten or expand a URL with Google service

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 733 All time: 4,546 This week: 352Up
Version License PHP version Categories
goo-gl-short-url 0.2Freely Distributable5PHP 5, Web services


This class can be used to shorten or expand a URL with Google service.

It can send an HTTP request to Google URL shortener Web services API generate a short URL for another given URL.

The class can also send a request to expand a given shortened URL with the same Google service.

Picture of Eslam Mahmoud
Name: Eslam Mahmoud <contact>
Classes: 1 package by
Country: Egypt Egypt
Age: ???
All time rank: 277727 in Egypt Egypt
Week rank: 658 Up9 in Egypt Egypt Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file googlshorturl Class google shorten url serves. Version: 0.2

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,546
This week:352Up
User Comments (2)
It works perfectly!
11 years ago (Gendrith Albornoz)
its cool, very simple code which will help a lot.
12 years ago (robindra)