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. inteve/forms

ActiveLibrary

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

Predefined controls for Nette\\Forms

v2.1.0(10mo ago)010.2k↑213.4%1BSD-3-ClausePHPPHP 8.0 - 8.4CI passing

Since Jan 29Pushed 10mo 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 1mo ago

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

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

48

—

FairBetter than 94% of packages

Maintenance54

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community9

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

310d 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

[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M574](/packages/nette-php-generator)[nette/caching

⏱ Nette Caching: library with easy-to-use API and many cache backends.

43518.6M367](/packages/nette-caching)[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M244](/packages/nette-mail)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M262](/packages/ssch-typo3-rector)[ublaboo/datagrid

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

2971.9M23](/packages/ublaboo-datagrid)

PHPackages © 2026

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