dev-master
9999999-devFree Hugs
MIT
The Requires
The Development Requires
by Andreas Streichardt
2.0.x-dev
2.0.9999999.9999999-devFree Hugs
MIT
The Requires
by Andreas Streichardt
Free Hugs
This is a little gimmick i wrote. It adds hugbears to your Symfony2 project!, (*1)
To get an idea of what it is doing:, (*2)
, (*3)
composer.json:, (*5)
``` js { "require": { "mop/hugbearbundle": "*" } }, (*6)
``` bash $ php composer.phar update mop/hugbearbundle
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)., (*7)
``` php <?php // app/AppKernel.php, (*8)
public function registerBundles() { // ... if (in_array($this->getEnvironment(), array('dev', 'test'))) { // ... $bundles[] = new Mop\HugbearBundle\MopHugbearBundle(); // ... } // .. }, (*9)
### 3. Install assets ``` bash $ php app/console assets:install
Open your application in the development environment. A hugbear should appear in your profilerbar. Click it and enjoy!, (*10)
Free Hugs
MIT
Free Hugs
MIT