On my previous post I was shown how to shorten URL using Bitly API and PHP. In this post I will show you how you can shorten URL using Google URL shortener api using PHP. Google also provide URL shortener service (goo.gl) for its users. To working with this API you will need to get a Google URL Shorten API key. If you do not have get one from here for free.