klintlili / yii2-mobile
mobile module base on yii2-app-basic template.
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
This package is auto-updated.
Last update: 2024-10-11 15:19:06 UTC
README
mobile module Extension for Yii 2
This extension provides a mobile module for Yii framework 2.0 applications yii2-app-basic template.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist klintlili/yii2-mobile
or add
"klintlili/yii2-mobile": "dev-master"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply modify your application configuration as follows:
return [ 'bootstrap' => ['mobile'], 'modules' => [ 'mobile' => [ 'class' => 'klintlili\mobile\Module' ], // ... ], ... ];