PHPackages                             devpack/gedmo-tree-recalc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. devpack/gedmo-tree-recalc

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

devpack/gedmo-tree-recalc
=========================

Recalc Gedmo Tree (Doctrine Behavioral Extensions)

v1.1.2(6y ago)210[1 PRs](https://github.com/kosmala007/gedmo-tree-recalc/pulls)MITPHPPHP ^7.2.3

Since Jan 24Pushed 3y ago2 watchersCompare

[ Source](https://github.com/kosmala007/gedmo-tree-recalc)[ Packagist](https://packagist.org/packages/devpack/gedmo-tree-recalc)[ RSS](/packages/devpack-gedmo-tree-recalc/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (8)Versions (10)Used By (0)

Recalc Gedmo Tree Command (Doctrine Behavioral Extensions)
==========================================================

[](#recalc-gedmo-tree-command-doctrine-behavioral-extensions)

This command was created for [Gedmo Doctrine Behavioral Tree Extension](https://github.com/Atlantic18/DoctrineExtensions).

If your tree has been damaged, the leaves and roots have incorrect values - this command is all you need.

You can easily recalc all the properties of a tree by one command.

How it use?
-----------

[](#how-it-use)

1. Install package `composer require devpack/gedmo-tree-recalc` or copy only command 😉
2. Add bundle to your `bundles.php` file

**Example:**

```
