TadckaJsTreeBundle integrates library JsTree.
Add TadckaJsTreeBundle in your composer.json:
{
"require": {
"tadcka/jstree-bundle": "dev-master"
}
}
And set component dir, example:
{
"config": {
"component-dir": "web/components"
}
}
Now tell composer to download the bundle by running the command:
$ php composer.phar update tadcka/jstree-bundle
Enable the bundle in the kernel:
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Tadcka\JsTreeBundle\TadckaJsTreeBundle(),
);
}
components/jstree/dist/themes/default/style.min.css
components/jquery/jquery.min.js
components/jstree/dist/jstree.min.js
This bundle is under the MIT license. See the complete license in the bundle:
Code License: Resources/meta/LICENSE