MopHugbearBundle
所属分类:编程语言基础
开发工具:PHP
文件大小:16KB
下载次数:0
上传日期:2013-11-20 10:14:22
上 传 者:
sh-1993
说明: Symfony2捆绑包,为您的项目添加了令人敬畏、娱乐和可爱的拥抱
(Symfony2 bundle which adds awesome, entertaining and adorable hugbears to your project)
文件列表:
.travis.yml (143, 2013-11-20)
DataCollector (0, 2013-11-20)
DataCollector\HugbearDataCollector.php (881, 2013-11-20)
DependencyInjection (0, 2013-11-20)
DependencyInjection\Configuration.php (1685, 2013-11-20)
DependencyInjection\MopHugbearExtension.php (2594, 2013-11-20)
EventListener (0, 2013-11-20)
EventListener\HugbearListener.php (2542, 2013-11-20)
LICENSE (1068, 2013-11-20)
MopHugbearBundle.php (128, 2013-11-20)
Resources (0, 2013-11-20)
Resources\config (0, 2013-11-20)
Resources\config\hugbear.xml (1340, 2013-11-20)
Resources\public (0, 2013-11-20)
Resources\public\images (0, 2013-11-20)
Resources\public\images\hugbear.png (1508, 2013-11-20)
Resources\public\images\hugbear.svg (9687, 2013-11-20)
Resources\views (0, 2013-11-20)
Resources\views\Hugbear (0, 2013-11-20)
Resources\views\Hugbear\datacollector.html.twig (412, 2013-11-20)
Resources\views\Hugbear\hugbear.html.twig (6909, 2013-11-20)
Tests (0, 2013-11-20)
Tests\EventListener (0, 2013-11-20)
Tests\EventListener\HugbearListenerTest.php (1536, 2013-11-20)
Tests\bootstrap.php (211, 2013-11-20)
composer.json (549, 2013-11-20)
phpunit.xml.dist (532, 2013-11-20)
# MopHugbearBundle
This is a little gimmick i wrote. It adds hugbears to your Symfony2 project!
To get an idea of what it is doing:
![My image](http://m0ppers.github.com/MopHugbearBundle/hugbears.png)
[![Build Status](https://secure.travis-ci.org/m0ppers/MopHugbearBundle.png?branch=master)](http://travis-ci.org/m0ppers/MopHugbearBundle)
## Installation
### 1. Install using composer
composer.json:
``` js
{
"require": {
"mop/hugbearbundle": "*"
}
}
```
``` bash
$ php composer.phar update mop/hugbearbundle
```
### 2. Enable the bundle
Preferably you add the bundle to your development environment. Otherwise the listener will add the bears even in the production environment (they won't activate though).
``` php
getEnvironment(), array('dev', 'test'))) {
// ...
$bundles[] = new Mop\HugbearBundle\MopHugbearBundle();
// ...
}
// ..
}
```
### 3. Install assets
``` bash
$ php app/console assets:install
```
### 4. Enjoy!
Open your application in the development environment. A hugbear should appear in your profilerbar. Click it and enjoy!
近期下载者:
相关文件:
收藏者: