devpack / gedmo-tree-recalc
Recalc Gedmo Tree (Doctrine Behavioral Extensions)
Package info
github.com/kosmala007/gedmo-tree-recalc
Type:symfony-bundle
pkg:composer/devpack/gedmo-tree-recalc
v1.1.2
2020-02-19 19:34 UTC
Requires
- php: ^7.2.3
- doctrine/orm: ^2.7
- gedmo/doctrine-extensions: ^2.4
- symfony/config: ^4.4
- symfony/console: ^4.4
- symfony/dependency-injection: ^4.4
- symfony/http-kernel: ^4.4
Requires (Dev)
- phpunit/phpunit: ^8.5
- symfony/var-dumper: ^4.4
This package is auto-updated.
Last update: 2026-03-01 00:30:38 UTC
README
This command was created for Gedmo Doctrine Behavioral Tree Extension.
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?
- Install package
composer require devpack/gedmo-tree-recalcor copy only command 😉 - Add bundle to your
bundles.phpfile
Example:
<?php return [ // ... DevPack\GedmoTreeRecalc\GedmoTreeRecalcBundle::class => ['all' => true], ];
- Run your symfony console
Example:
php bin/console gedmo:tree:recalc [<YourEntity>]
How test package?
Run this command: ./vendor/bin/phpunit tests