igogo5yo / yii2-cocos2d
Cocos2d-html5 for Yii Framework 2
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- bower-asset/cocos2d-html5: dev-master
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-09 18:16:49 UTC
README
This is the Cocos2d-html5 extension for Yii 2. It have AssetBundle for including Cocos2d-html5 to your Yii 2 web application.
Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist igogo5yo/yii2-cocos2d
or add
"igogo5yo/yii2-cocos2d": ">=1.0"
to the require section and change your minimum-stability option to
"minimum-stability": "dev",
in your composer.json
file
Usage
For using this extension you may add in to your AssetBundle depends:
public $depends = [ 'igogo5yo\cocos2d\Cocos2dAsset' ];
or register it self in your View:
igogo5yo\cocos2d\Cocos2dAsset::register($this);