https://github.com/igogo5yo/yii2-cocos2d
https://github.com/igogo5yo/yii2-cocos2d
cocos2d cocos2d-x html5 yii2 yii2-asset
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/igogo5yo/yii2-cocos2d
- Owner: igogo5yo
- License: mit
- Created: 2015-03-23T09:37:40.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-09T09:02:51.000Z (about 9 years ago)
- Last Synced: 2025-01-23T16:43:06.735Z (4 months ago)
- Topics: cocos2d, cocos2d-x, html5, yii2, yii2-asset
- Language: PHP
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Cocos2d-html5 for Yii 2
=====================================
[](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [](https://www.versioneye.com/user/projects/550c2c20a80b5fc12d000271)This is the Cocos2d-html5 extension for Yii 2. It have AssetBundle for including [Cocos2d-html5](http://cocos2d-x.org/) to your Yii 2 web application.
Please submit issue reports and pull requests to the main repository.
For license information check the [LICENSE](LICENSE.md)-file.Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
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:
```php
public $depends = [
'igogo5yo\cocos2d\Cocos2dAsset'
];
```or register it self in your View:
```php
igogo5yo\cocos2d\Cocos2dAsset::register($this);
```