PHPackages                             inteve/forms - 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. [Templating &amp; Views](/categories/templating)
4. /
5. inteve/forms

ActiveLibrary[Templating &amp; Views](/categories/templating)

inteve/forms
============

Predefined controls for Nette\\Forms

v2.1.0(11mo ago)010.4k↓89.6%2BSD-3-ClausePHPPHP 8.0 - 8.4CI passing

Since Jan 29Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/inteve/forms)[ Packagist](https://packagist.org/packages/inteve/forms)[ Fund](https://www.janpecha.cz/donate/)[ RSS](/packages/inteve-forms/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (9)Dependencies (5)Versions (11)Used By (2)

Inteve\\Forms
=============

[](#inteveforms)

[![Build Status](https://github.com/inteve/forms/workflows/Build/badge.svg)](https://github.com/inteve/forms/actions)[![Downloads this Month](https://camo.githubusercontent.com/54b279b337b3ce0812b5bbb5a6d1ec4debccbad87453aa95e6bf8e7794d60bb5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f696e746576652f666f726d732e737667)](https://packagist.org/packages/inteve/forms)[![Latest Stable Version](https://camo.githubusercontent.com/00eb52a69b46b9e9bcec8d904f182c65780194177e011294551d915a29dbd94d/68747470733a2f2f706f7365722e707567782e6f72672f696e746576652f666f726d732f762f737461626c65)](https://github.com/inteve/forms/releases)[![License](https://camo.githubusercontent.com/fa7d5fcf2c84b580327af52da95dd751703af65f079dc3c5a0081beac0789718/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4e65772532304253442d626c75652e737667)](https://github.com/inteve/forms/blob/master/license.md)

Controls for Nette\\Forms.

[![Donate](https://camo.githubusercontent.com/101b981194f1dafbf9c42e19c3034fe2d724e75be972cef0f4477074997834db/68747470733a2f2f6275796d65636f666665652e696e746d2e6f72672f696d672f646f6e6174652d62616e6e65722e76312e737667)](https://www.janpecha.cz/donate/)

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

[](#installation)

[Download a latest package](https://github.com/inteve/forms/releases) or use [Composer](http://getcomposer.org/):

```
composer require inteve/forms

```

Library requires PHP 8.0 or later.

DateInput
---------

[](#dateinput)

```
$form['date'] = new Inteve\Forms\DateInput('Date:', 'Error message for invalid date.');
$form['date']->setDefaultValue(new \DateTimeImmutable('2018-01-01 20:18'));
$form['date']->setDefaultValue(new \DateTime('2018-01-01 20:18'));

$form['date']->getValue(); // DateTimeImmutable|NULL
```

DateTimeInput
-------------

[](#datetimeinput)

```
$form['datetime'] = new Inteve\Forms\DateTimeInput('Datetime:', 'Error message for invalid datetime.');
$form['datetime']->setDefaultValue(new \DateTimeImmutable('2018-01-01 20:18'));
$form['datetime']->setDefaultValue(new \DateTime('2018-01-01 20:18'));

$form['datetime']->getValue(); // DateTimeImmutable|NULL
```

You can set timezone for HTML value.

```
$form['datetime'] = new Inteve\Forms\DateTimeInput('Datetime:', $errorMessage, 'Europe/Prague');
```

TimeInput
---------

[](#timeinput)

```
$form['time'] = new Inteve\Forms\TimeInput('Time:', 'Error message for invalid time.');
$form['time']->setDefaultValue(new \DateTimeImmutable('2018-01-01 20:18'));
$form['time']->setDefaultValue(new \DateTime('2018-01-01 20:18'));
$form['time']->setDefaultValue(new \DateInterval('PT20H18M'));

$form['time']->getValue(); // DateInterval|NULL
```

Others
------

[](#others)

- HtmlInput
- UrlPathInput
- UrlSlugInput

---

License: [New BSD License](license.md)
Author: Jan Pecha,

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance50

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 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 ~301 days

Recently: every ~388 days

Total

10

Last Release

355d ago

Major Versions

v0.2.0 → v1.0.02020-01-31

v1.2.0 → v2.0.02023-07-07

PHP version history (4 changes)v0.1.0PHP &gt;=5.3.0

v0.2.0PHP &gt;=5.6.0

v2.0.0PHP &gt;=7.2.0

v2.1.0PHP 8.0 - 8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c980b1511b4a0350442dc23d89c99d4d9a2411b7e765d52c133ccacf616968b?d=identicon)[janpecha](/maintainers/janpecha)

---

Top Contributors

[![janpecha](https://avatars.githubusercontent.com/u/637719?v=4)](https://github.com/janpecha "janpecha (57 commits)")

---

Tags

formsnettenette-formsphp

### Embed Badge

![Health badge](/badges/inteve-forms/health.svg)

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

###  Alternatives

[contributte/forms-bootstrap

Nette extension for Bootstrap forms

211.1M4](/packages/contributte-forms-bootstrap)[tomaj/nette-bootstrap-form

Nette bootstrap form renderer

28450.6k8](/packages/tomaj-nette-bootstrap-form)[nepada/form-renderer

Latte template based form renderer for Nette forms with full support for Bootstrap 3, 4 &amp; 5.

11252.5k](/packages/nepada-form-renderer)[nextras/forms-rendering

Rendering helpers for Nette Framework Forms.

16102.5k2](/packages/nextras-forms-rendering)

PHPackages © 2026

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