4 You may buy me a Beer, a Tea or help with Server fees with a paypal donation to
5 the address <paypal@rapsys.eu>.
7 Don't forget to show your love for this project, feel free to report bugs to
8 the author, issues which are security relevant should be disclosed privately
11 Patches are welcomed and grant credit when requested.
16 Applications that use Symfony Flex
17 ----------------------------------
19 Add bundle custom repository to your project's `composer.json` file:
28 "name": "rapsys/treebundle",
29 "version": "dev-master",
32 "url": "https://git.rapsys.eu/treebundle",
37 "Rapsys\\TreeBundle\\": ""
49 Then open a command console, enter your project directory and execute:
52 $ composer require rapsys/treebundle dev-master
55 Applications that don't use Symfony Flex
56 ----------------------------------------
58 ### Step 1: Download the Bundle
60 Open a command console, enter your project directory and execute the
61 following command to download the latest stable version of this bundle:
64 $ composer require rapsys/treebundle dev-master
67 This command requires you to have Composer installed globally, as explained
68 in the [installation chapter](https://getcomposer.org/doc/00-intro.md)
69 of the Composer documentation.
71 ### Step 2: Enable the Bundle
73 Then, enable the bundle by adding it to the list of registered bundles
74 in the `config/bundles.php` file of your project:
84 Rapsys\TreeBundle\RapsysTreeBundle::class => ['all' => true],
88 ### Step 3: Configure the Bundle
90 Setup configuration file `config/packages/rapsys_tree.yaml` with the following
91 content available in `Resources/config/packages/rapsys_tree.yaml`:
94 #Services configuration
98 Setup configuration file `config/packages/myproject.yaml` with the following
99 content available in `Resources/config/packages/rapsys_tree.yaml`:
102 #Services configuration
106 Open a command console, enter your project directory and execute the following
107 command to see default bundle configuration:
110 $ bin/console config:dump-reference RapsysTreeBundle
113 Open a command console, enter your project directory and execute the following
114 command to see current bundle configuration:
117 $ bin/console debug:config RapsysTreeBundle