Bundle for using NVD3 (https://github.com/novus/nvd3.git) with symfony
- Add bundle as a dependency to the composer.json
{
"require": {
"pandora/nvd3-bundle": "dev-master"
}
}
- Run "composer update"
- Make sure to enable PandoraNVD3Bundle and SpBowerBundle in AppKernel.php .
public function registerBundles()
{
$bundles = array(
// ...
new Pandora\NVD3Bundle\PandoraNVD3Bundle(),
new Sp\BowerBundle\SpBowerBundle(),
);
}
- Update app/config/config.yml
# app/config/config.yml
sp_bower:
bundles:
PandoraNVD3Bundle: ~
- Install bower dependencies
app/console sp:bower:install
- Install asset
app/console assets:install --symlink