tadcka / jstree-bundle
JsTree bundle on Symfony2
Installs: 11 431
Dependents: 4
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.3
- jms/serializer-bundle: ~1.0
- symfony/framework-bundle: >=2.3
- vakata/jstree: 3.0.*
This package is auto-updated.
Last update: 2024-11-15 03:14:44 UTC
README
TadckaJsTreeBundle integrates library JsTree.
Installation
Step 1: Download TadckaJsTreeBundle using composer
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
Step 2: Enable the bundle
Enable the bundle in the kernel:
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Tadcka\JsTreeBundle\TadckaJsTreeBundle(), ); }
Step 3: Include javascript and css
components/jstree/dist/themes/default/style.min.css components/jquery/jquery.min.js components/jstree/dist/jstree.min.js
License
This bundle is under the MIT license. See the complete license in the bundle:
Code License: Resources/meta/LICENSE