chinahub / yii2-shortlink
基于yii2框架的短链接拓展
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2025-01-14 06:05:58 UTC
README
基于yii2框架的短链接拓展
Installation
The preferred way to install this extension is through composer.
Either run
composer require chinahub/yii2-shortlink "1.1.*"
or add
"chinahub/yii2-shortlink": "1.1.*"
to the require section of your composer.json
file.
Configuration
Once the extension is installed, simply config it in you main.php like this :
'controllerMap' => [ 'api' => [ 'class' => 'chinahub\shortlink\ApiController' ], ]
Usage
Once the extension is installed, simply call it in your browser by :
http://i-web.com/api