PHPackages                             g737a6b/php-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. g737a6b/php-form

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

g737a6b/php-form
================

PHP form library.

3.4.0(4mo ago)1346MITPHPPHP &gt;=8.3CI failing

Since Sep 10Pushed 4mo ago1 watchersCompare

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

READMEChangelog (8)Dependencies (2)Versions (16)Used By (0)

MofgForm [![main](https://github.com/g737a6b/php-form/workflows/main/badge.svg)](https://github.com/g737a6b/php-form/workflows/main/badge.svg)
==============================================================================================================================================

[](#mofgform-)

A PHP library for building and handling web forms.

Usage Examples
--------------

[](#usage-examples)

See `demo/`.

```
docker run -it --rm -p 8080:80 -v $(pwd):/var/www/html php:8.5-apache
# http://localhost:8080/demo/
```

Features
--------

[](#features)

MofgForm is designed for building a wide range of web forms.

- All basic input types (text, select, radio, checkbox, textarea and password)
- Unlimited pages
- Validation
- Filtering
- HTML generation
- Email sending
- Form submission summary
- Lightweight
- Installation using Composer
- MIT License

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

[](#installation)

### Composer

[](#composer)

Add a dependency to your project's `composer.json` file.

```
{
	"require": {
		"g737a6b/php-form": "*"
	}
}
```

Development
-----------

[](#development)

### Install dependencies

[](#install-dependencies)

```
docker run -it --rm -v $(pwd):/app composer:2.9.2 install
```

### Run tests

[](#run-tests)

```
docker run -it --rm -v $(pwd):/app -w /app php:8.5 ./vendor/bin/phpunit ./tests
```

### Format code

[](#format-code)

```
docker run -it --rm -v $(pwd):/app -w /app php:8.3 ./vendor/bin/php-cs-fixer fix ./src
```

License
-------

[](#license)

[The MIT License](http://opensource.org/licenses/MIT)

Copyright (c) 2016-2026 [Hiroyuki Suzuki](https://mofg-in-progress.com)

###  Health Score

50

—

FairBetter than 96% of packages

Maintenance75

Regular maintenance activity

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity86

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

Recently: every ~253 days

Total

15

Last Release

134d ago

Major Versions

2.2.0 → 3.0.02017-01-14

PHP version history (2 changes)3.3.2PHP &gt;=7.4

3.4.0PHP &gt;=8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/07d4fb20a844e6640ff3f2c66acfbd7b32131a0720787ee864d1cef9883fba0e?d=identicon)[g737a6b](/maintainers/g737a6b)

---

Top Contributors

[![g737a6b](https://avatars.githubusercontent.com/u/10450063?v=4)](https://github.com/g737a6b "g737a6b (98 commits)")

---

Tags

composerformslibraryphpformcontactinquiry

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[mremi/contact-bundle

Implementation of a contact form for Symfony2

2712.4k2](/packages/mremi-contact-bundle)

PHPackages © 2026

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