PHPackages                             enjoys/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. enjoys/forms

ActiveLibrary

enjoys/forms
============

forms 5.x dev

5.12.0(4mo ago)03.4k↓50%7MITPHPPHP ^8.0CI failing

Since Oct 14Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/Enjoyzz/forms)[ Packagist](https://packagist.org/packages/enjoys/forms)[ RSS](/packages/enjoys-forms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (90)Used By (7)

[![Mutation testing badge](https://camo.githubusercontent.com/2985a85ce8a735c5d8b2cc06b10b661fcbf051f6b6558f7b4626d203ea4a34d4/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d253246456e6a6f797a7a253246666f726d732532466d6173746572)](https://dashboard.stryker-mutator.io/reports/github.com/Enjoyzz/forms/master)[![Code Coverage](https://camo.githubusercontent.com/635005654da45e6cf8878792d09d80ae38e81c7929e3ba122f614eee063e8605/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e6a6f797a7a2f666f726d732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Enjoyzz/forms/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4393defe55565612fb2a693598760230ede74faf675979a4214f563452073690/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f456e6a6f797a7a2f666f726d732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Enjoyzz/forms/?branch=master)[![php 8.0](https://github.com/Enjoyzz/forms/workflows/php%208.0/badge.svg)](https://github.com/Enjoyzz/forms/workflows/php%208.0/badge.svg)

### Init form

[](#init-form)

```
use Enjoys\Forms\Form;
$form = new Form();
//or
$form = new Form('get', 'action.php');
```

### Added Elements

[](#added-elements)

```
use Enjoys\Forms\Form;
use Enjoys\Forms\Elements;

$form = new Form();
$form->text('name', 'label');

//or
$textElement = new Elements\Text('name', 'label');
$form->addElement($textElement);
```

### List Elements

[](#list-elements)

- button
- captcha (need CaptchaInterface Implement)
- checkbox
- color
- datalist
- date
- datetime
- datetimelocal
- email
- file
- group
- header
- hidden
- html
- image
- month
- number
- password
- radio
- range
- reset
- search
- select
- submit
- tel
- text
- textarea
- time
- url
- week

### Run built-in server for view example

[](#run-built-in-server-for-view-example)

```
port=$(shuf -i 2048-65000 -n 1);
php -S localhost:"${port}" -t ./example .route
```

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance74

Regular maintenance activity

Popularity22

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity75

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

Every ~22 days

Recently: every ~75 days

Total

88

Last Release

140d ago

Major Versions

2.5.1 → 3.0.02020-10-26

2.6.0 → 3.3.12021-01-27

3.6.6 → 5.0.02022-04-16

3.7.0 → 5.5.02022-05-31

5.10.1 → 6.x-dev2025-03-02

PHP version history (6 changes)2.1.0PHP ^7.4

3.0.0PHP ^7.4 || ^8.0

3.2.2PHP ^7.4|^8.0

5.0.0PHP &gt;= 8.0

5.7.0PHP ^8.0

6.x-devPHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25447823?v=4)[enjoys](/maintainers/enjoys)[@enjoys](https://github.com/enjoys)

---

Top Contributors

[![Enjoyzz](https://avatars.githubusercontent.com/u/1448659?v=4)](https://github.com/Enjoyzz "Enjoyzz (580 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[mailgun/mailgun-php

The Mailgun SDK provides methods for all API functions.

1.1k28.9M168](/packages/mailgun-mailgun-php)[driftingly/rector-laravel

Rector upgrades rules for Laravel Framework

1.2k12.0M462](/packages/driftingly-rector-laravel)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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