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.

Maintainers

Package info

github.com/PrakashSmart/google-url-shortener

Type:yii2-extension

pkg:composer/smartt/yii2-google-url-shortener

Statistics

Installs: 7

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-03-01 12:53:44 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(); ?>