PHPackages                             niklas/form - 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. [Database &amp; ORM](/categories/database)
4. /
5. niklas/form

ActiveLibrary[Database &amp; ORM](/categories/database)

niklas/form
===========

Data access object

v1.0.1(8y ago)068MITPHP

Since Aug 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/NiklasDerEchte/form)[ Packagist](https://packagist.org/packages/niklas/form)[ RSS](/packages/niklas-form/feed)WikiDiscussions master Synced 2w ago

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

Niklas/form
===========

[](#niklasform)

Render bootstrap 3.2 html forms

Example
-------

[](#example)

```
$form = new ActionForm(null, "POST");
$form->addInput("name", "Name")->required("Please enter a name!");
$form->addInput("email", "Email", "email")->required("Please enter a valid email!");
$form->addInput("pass", "Password", "password")->required("Please enter a password!");
$form->setSubmit("Submit", "send");

$form->setData(@$_POST);

$form->onSubmit( "send",
        function ($fdata) {
            echo "DATA SEND";
        }
);

echo $form->render();
```

Install
-------

[](#install)

Niklas/Form is available at packagist.org.

insall it using composer:

```
composer require niklas/form

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3247d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e00c8678180333c16d2efb0f20de362c796cc89b9786a9a9d32e4967c3b160e?d=identicon)[NiklasDerEchte](/maintainers/NiklasDerEchte)

---

Top Contributors

[![NiklasDerEchte](https://avatars.githubusercontent.com/u/30403587?v=4)](https://github.com/NiklasDerEchte "NiklasDerEchte (2 commits)")

### Embed Badge

![Health badge](/badges/niklas-form/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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