PHPackages                             mrself/symfony-tree-form-type - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrself/symfony-tree-form-type

ActiveProject[Utility &amp; Helpers](/categories/utility)

mrself/symfony-tree-form-type
=============================

Symfony package for tree form type

1.7.7(5y ago)0551MITTypeScriptPHP ^7.2.0

Since Jan 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mrself/symfony-tree-form-type)[ Packagist](https://packagist.org/packages/mrself/symfony-tree-form-type)[ RSS](/packages/mrself-symfony-tree-form-type/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (11)Versions (36)Used By (0)

Symfony tree form plugin
========================

[](#symfony-tree-form-plugin)

**Still under development!**

Installing
----------

[](#installing)

`composer require mrself/symfony-tree-form-type:^1.2.3`

Make sure `config/packages/twig.yaml` has the following code:

```
twig:
    form_themes:
      - '@TreeType/tree_type.html.twig'
```

### Assets

[](#assets)

The main js asset is located here `assets/dist/main.js`. It should be required in your front-end bundle or just added to your html.

Usage
-----

[](#usage)

```
public function buildForm(\Symfony\Component\Form\FormBuilderInterface $builder, array $options)
{
    $builder->add('alternatives', MrTreeType::class, [
        'class' => DataClass::class,
        'tree' => [
            [
                'id' => '1',
                'text' => 'Item 1',
                'parent' => '#'
            ]
         ],
        'multiple' => true
    ]);
}
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~21 days

Total

34

Last Release

1887d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9679597?v=4)[Yaroslav](/maintainers/mrself)[@mrself](https://github.com/mrself)

---

Top Contributors

[![mrself](https://avatars.githubusercontent.com/u/9679597?v=4)](https://github.com/mrself "mrself (149 commits)")

---

Tags

symfonysymfony-bundlesymfony4tree-form

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mrself-symfony-tree-form-type/health.svg)

```
[![Health](https://phpackages.com/badges/mrself-symfony-tree-form-type/health.svg)](https://phpackages.com/packages/mrself-symfony-tree-form-type)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.8k](/packages/contao-core-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
