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

dev-master / 1.1.x-dev 2016-03-09 09:02 UTC

This package is not auto-updated.

Last update: 2024-11-09 18:16:49 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License Dependency Status

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);