smartt/yii2-google-url-shortener

Google URL Shortener at goo.gl is used by Google products to create short URLs that can be easily shared, tweeted, or emailed to friends.

dev-master 2017-11-22 11:29 UTC

This package is not auto-updated.

Last update: 2025-04-27 08:26:24 UTC


README

Google URL Shortener at goo.gl is used by Google products to create short URLs that can be easily shared, tweeted, or emailed to friends.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist smartt/yii2-google-url-shortener "*"

or add

"smartt/yii2-google-url-shortener": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \smartt\googleurlshortener\GoogleURLShortner::widget(); ?>