PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

Overview

URL shorteners have exploded in popularity in the last several years, in large part due to the social nature of the web and the desire to share links. Zend_Service_ShortUrl provides an API for accessing a number of different URL shortener services, with the ability to both create short URLs as well as retrieve the original URL.

Adapters provided include:

  • Zend_Service_ShortUrl_JdemCz, which accesses the jdem.cz service.

  • Zend_Service_ShortUrl_TinyUrlCom, which accesses the tinyurl.com service.

  • Zend_Service_ShortUrl_MetamarkNet, which accesses the metamark.net service.

  • Zend_Service_ShortUrl_IsGd, which accesses the is.gd service.

  • Zend_Service_ShortUrl_BitLy, which accesses the bit.ly service.

Zend Framework