PHPackages                             zer0php/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. zer0php/form

ActiveLibrary

zer0php/form
============

Basic Request Data Handler

1.0.2(7y ago)293MITPHPPHP &gt;= 7.1

Since Sep 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zer0php/form)[ Packagist](https://packagist.org/packages/zer0php/form)[ RSS](/packages/zer0php-form/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

ZeroPHP Form
============

[](#zerophp-form)

[![Build Status](https://camo.githubusercontent.com/10d0fda686e49316bf6a517ad0906a0ba0b6563ad7331c2a8989e8e017b49d2a/68747470733a2f2f7472617669732d63692e636f6d2f7a6572307068702f666f726d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/zer0php/form)[![Coverage Status](https://camo.githubusercontent.com/d9df0a0d093c9e3856cf9602ca906b1a4080c586e6514b6ee3ce31e8c952e8b0/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a6572307068702f666f726d2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zer0php/form?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/f2d159bd06133c9615187eed8fbba5e885b5a3008c5b38f08be649e322991422/68747470733a2f2f706f7365722e707567782e6f72672f7a6572307068702f666f726d2f762f737461626c65)](https://packagist.org/packages/zer0php/form)

```
use Zero\Form\Form;
use Zero\Form\Filter\StringFilter;
use Zero\Form\Filter\EmailFilter;
use Zero\Form\Validator\EmptyValidator;
use Zero\Form\Validator\EmailValidator;

...

$form = new Form();
$form
    ->input('name', new StringFilter(), new EmptyValidator('Name'))
    ->input('email', new EmailFilter(), new EmailValidator());

/* @var $postRequest \Psr\Http\Message\ServerRequestInterface */
if($form->handle($postRequest)->isValid()) {
    $data = $form->getData(); //['name' => 'Test name', 'email' => 'test@test.test']
} else {
    $errors = $form->getErrors(); //['name' => 'Name can not be empty', 'email' => 'Wrong email format']
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~4 days

Total

3

Last Release

2802d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/42d7e35f56098ad3156896024726b4efaeade145c40b9a196c57817a7c3eac8c?d=identicon)[zerosuxx](/maintainers/zerosuxx)

---

Top Contributors

[![zerosuxx](https://avatars.githubusercontent.com/u/32514760?v=4)](https://github.com/zerosuxx "zerosuxx (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30317.2M40](/packages/simplesamlphp-saml2)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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