chinahub/yii2-shortlink

基于yii2框架的短链接拓展

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

V1.1.0 2018-04-08 10:58 UTC

This package is not auto-updated.

Last update: 2024-09-10 04:26:35 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