PHPackages                             adt/nette-forms-components - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. adt/nette-forms-components

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

adt/nette-forms-components
==========================

v2.5(2w ago)024.3k↓45.7%12MITPHPPHP &gt;=8.3

Since Nov 24Pushed 1mo ago12 watchersCompare

[ Source](https://github.com/AppsDevTeam/nette-forms-components)[ Packagist](https://packagist.org/packages/adt/nette-forms-components)[ RSS](/packages/adt-nette-forms-components/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (10)Dependencies (12)Versions (107)Used By (2)

Nette Forms Components
======================

[](#nette-forms-components)

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

[](#installation)

`composer require adt/nette-forms-components`

ADT\\Forms\\Form
----------------

[](#adtformsform)

`Nette\Application\UI\Form` subclass using `ADT\Forms\BoostrapFormRenderer` to render a form in Bootstrap 5 (default) or 4.

Overrides `addError` method (the parent method does not use the translator lazy).

Have `@method` annotations for all ADT Nette Forms components so PhpStorm auto completion should work out of the box.

ADT\\Forms\\BoostrapFormRenderer
--------------------------------

[](#adtformsboostrapformrenderer)

Can be used on its own, without using `ADT\Forms\Form` (for example in `Ublaboo\DataGrid\DataGrid::createComponentFilter` method, which creates `Nette\Application\UI\Form` instance)

Can be switch to Bootstrap 4 calling `ADT\Forms\BoostrapFormRenderer::$version = ADT\Forms\BootstrapFormRender::VERSION_4;` (for example in your `BasePresenter::beforeRender` method).

If it's an AJAX request and the form is not valid, only snippets with error messages will be sent back to browser (without rendering the form).

If you need, you can use static methods `ADT\Forms\BoostrapFormRenderer::makeBootstrap` and `ADT\Forms\BoostrapFormRenderer::sendErrorPayload` manually (for example in `\Ublaboo\DataGrid\DataGrid::setItemsDetailForm`, where the container is created dynamically).

You can use `->setOption('description', 'Description text')` to use field description.

You can use `->setOption('prepend', 'Text to prepend')` or `->setOption('append', 'Text to append')` to use proper inpur group styles.

Containers
----------

[](#containers)

Can be used on their own, without using `ADT\Forms\Form`.

Can be registered in your Bootstrap file like `BaseContainer::register();`. This will allow you to use `addStaticContainer` and `addDynamicContainer` methods in your forms.

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance94

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 92.9% 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 ~17 days

Recently: every ~9 days

Total

102

Last Release

14d ago

Major Versions

v1.12.5 → v2.02025-05-09

v1.x-dev → v2.0.52025-05-29

PHP version history (4 changes)v1.0PHP &gt;=7.4

v1.6PHP &gt;=8.0

v1.9PHP &gt;=8.1

v2.2.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ab62e3b1b51d124387f69d423b6de47d0006c75007b97f530ee87397291730e?d=identicon)[thorewi](/maintainers/thorewi)

---

Top Contributors

[![thorewi](https://avatars.githubusercontent.com/u/605858?v=4)](https://github.com/thorewi "thorewi (169 commits)")[![conflictboy](https://avatars.githubusercontent.com/u/17651244?v=4)](https://github.com/conflictboy "conflictboy (4 commits)")[![msgrDiablo](https://avatars.githubusercontent.com/u/106905019?v=4)](https://github.com/msgrDiablo "msgrDiablo (4 commits)")[![Walusyak](https://avatars.githubusercontent.com/u/20837611?v=4)](https://github.com/Walusyak "Walusyak (3 commits)")[![AdtMax](https://avatars.githubusercontent.com/u/227872885?v=4)](https://github.com/AdtMax "AdtMax (1 commits)")[![vpalousek](https://avatars.githubusercontent.com/u/108008045?v=4)](https://github.com/vpalousek "vpalousek (1 commits)")

### Embed Badge

![Health badge](/badges/adt-nette-forms-components/health.svg)

```
[![Health](https://phpackages.com/badges/adt-nette-forms-components/health.svg)](https://phpackages.com/packages/adt-nette-forms-components)
```

###  Alternatives

[nette/forms

📝 Nette Forms: generating, validating and processing secure forms in PHP. Handy API, fully customizable, server &amp; client side validation and mature design.

53013.8M538](/packages/nette-forms)[nette/web-project

Nette: Standard Web Project

11093.7k](/packages/nette-web-project)[ublaboo/datagrid

DataGrid for Nette Framework: filtering, sorting, pagination, tree view, table view, translator, etc

2972.1M29](/packages/ublaboo-datagrid)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136411.0k14](/packages/rector-rector-src)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21274.1k2](/packages/nasext-dependent-select-box)

PHPackages © 2026

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