PHPackages                             aleslanger/checkboxtree - 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. [Framework](/categories/framework)
4. /
5. aleslanger/checkboxtree

ActiveLibrary[Framework](/categories/framework)

aleslanger/checkboxtree
=======================

Checkbox Tree control for Nette Framework.

v0.02(7y ago)018MITPHPPHP &gt;= 5.6

Since Sep 19Pushed 7y agoCompare

[ Source](https://github.com/aleslanger/checkboxtree)[ Packagist](https://packagist.org/packages/aleslanger/checkboxtree)[ RSS](/packages/aleslanger-checkboxtree/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (2)Used By (0)

Checkbox Tree control for [Nette Framework](http://nette.org)
=============================================================

[](#checkbox-tree-control-for-nette-framework)

Requirements
------------

[](#requirements)

- [Nette Framework](https://github.com/nette/nette)

Installation
------------

[](#installation)

```
composer require aleslanger/checkboxtree

```

You can enable the extension using your neon config:

```
extensions:
    	CheckBoxTree:  aleslanger\Forms\CheckBoxTree\DI\CheckBoxTreeExtension
```

or register for example to bootstrap.php:

```
\aleslanger\Forms\CheckBoxTree\Bridges\ExtensionMethodRegistrator::register();
```

Usage
-----

[](#usage)

```
$form = new \Nette\Forms\Form;

/*
 - First
      |___ - Third
 - Second
 */

 $items = array( 1 => array('id' => 1, 'title' => 'First',  'parent_id' => ''),
                 2 => array('id' => 2, 'title' => 'Second', 'parent_id' => ''),
                 3 => array('id' => 3, 'title' => 'Third',  'parent_id' => 1),);

$form->addCheckboxTree("list", "Label", $items);
```

the input array must contain keys (id, title, parent\_id), key title is label for checkbox. The output is an array, the individual values are IDs.

License
-------

[](#license)

The MIT License (MIT)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2792d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25610549?v=4)[Aleš Langer](/maintainers/aleslanger)[@aleslanger](https://github.com/aleslanger)

---

Top Contributors

[![aleslanger](https://avatars.githubusercontent.com/u/25610549?v=4)](https://github.com/aleslanger "aleslanger (5 commits)")

### Embed Badge

![Health badge](/badges/aleslanger-checkboxtree/health.svg)

```
[![Health](https://phpackages.com/badges/aleslanger-checkboxtree/health.svg)](https://phpackages.com/packages/aleslanger-checkboxtree)
```

###  Alternatives

[nette/nette

👪 Nette Framework - innovative framework for fast and easy development of secured web applications in PHP (metapackage)

1.6k2.8M335](/packages/nette-nette)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)[brandembassy/slim-nette-extension

19190.2k](/packages/brandembassy-slim-nette-extension)

PHPackages © 2026

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