25/01
2018
Create short links
Create short links, (*1)
The preferred way to install this extension is through composer., (*2)
Either run, (*3)
composer require kirnet/yii2-shortlinks:dev-master --prefer-source
or add, (*4)
"kirnet/yii2-shortlinks": "dev-master"
to the require section of your composer.json
file., (*5)
php yii migrate --migrationPath=@kirnet/shortlinks/migrations --interactive=0, (*6)
Once the extension is installed, simply use it in your code by :, (*7)
http://site.com/shortlinks - create short url
http://site.com/shortlinks/view - view urls with info
, (*8)
Это не рабочее расширение, просто тестовый набросок, (*9)