PHPackages                             monolyth/formulaic - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. monolyth/formulaic

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

monolyth/formulaic
==================

Monolyth unframework object oriented form tools

1.13.1(1y ago)0782[1 PRs](https://github.com/monolyth-php/formulaic/pulls)1MITPHPPHP &gt;=8.1

Since Jan 20Pushed 1y ago1 watchersCompare

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

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

Formulaic
=========

[](#formulaic)

Object-oriented form utilities for PHP8.1+

HTML forms suck. Well, no, they're superduper handy, but writing them and validating them server-side can be a pain. Formulaic offers a set of utilities to ease that pain.

Basic usage
-----------

[](#basic-usage)

Define a form with some fields and other requirements:

```
