2017 © Pedro Peláez
 

yii2-extension yii2-shorty

Yii2 URL Shortener

image

mergit/yii2-shorty

Yii2 URL Shortener

  • Thursday, February 1, 2018
  • by mer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Yii2 URL Shortener

Yii2 URL Shortener, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist mergit/yii2-shorty "dev-master"

or add, (*4)

"mergit/yii2-shorty": "dev-master"

to the require section of your composer.json file., (*5)

Usage

Once the extension is installed, simply use it in your code by :, (*6)


$config = [ 'defaultRoute' => 'shorty/default/index', 'components' => [ 'geoip' => ['class' => 'lysenkobv\GeoIP\GeoIP'], ], 'modules' => [ 'shorty' => [ 'class' => 'mergit\shorty\Module', ], ], ];

Create DB

yii migrate --migrationPath=@vendor/mergit/yii2-shorty/migrations

The Versions

01/02 2018

dev-master

9999999-dev

Yii2 URL Shortener

  Sources   Download

MIT

The Requires

 

by Pavel Katz

extension yii2 module url shortener shorty