An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

Cocos2d-html5 for Yii 2
=====================================
[![Latest Stable Version](https://poser.pugx.org/igogo5yo/yii2-cocos2d/v/stable)](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [![Total Downloads](https://poser.pugx.org/igogo5yo/yii2-cocos2d/downloads)](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [![Latest Unstable Version](https://poser.pugx.org/igogo5yo/yii2-cocos2d/v/unstable)](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [![License](https://poser.pugx.org/igogo5yo/yii2-cocos2d/license)](https://packagist.org/packages/igogo5yo/yii2-cocos2d) [![Dependency Status](https://www.versioneye.com/user/projects/550c2c20a80b5fc12d000271/badge.svg?style=flat)](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);
```