PHPackages                             dougallwinship/deform - 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. dougallwinship/deform

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

dougallwinship/deform
=====================

deform form library

v0.1.0-alpha(1y ago)18UnlicensePHPCI passing

Since May 18Pushed 1mo ago1 watchersCompare

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

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

Deform
======

[](#deform)

[![PHP](https://camo.githubusercontent.com/10be29a038ecdcb267788ad2d3d6bfd06adb3deaaf7e5d20cb0a22953b14ee7e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e332d3838393242463f6c6f676f3d706870267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/10be29a038ecdcb267788ad2d3d6bfd06adb3deaaf7e5d20cb0a22953b14ee7e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e332d3838393242463f6c6f676f3d706870267374796c653d666c61742d737175617265)[![JavaScript](https://camo.githubusercontent.com/c86c3812bf9022909e9a5c79deafd20017330ed7722534b9cf47f93442c16dc6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6176615363726970742d4553362532422d677265656e2e7376673f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c86c3812bf9022909e9a5c79deafd20017330ed7722534b9cf47f93442c16dc6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6176615363726970742d4553362532422d677265656e2e7376673f7374796c653d666c61742d737175617265)[![License: Unlicense](https://camo.githubusercontent.com/7c53331e1437898fc56852830e612a6a86871bf2de861562e9f753be21f91248/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d556e6c6963656e73652d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/DougallWinship/deform/blob/master/LICENSE)[![PSR-12](https://camo.githubusercontent.com/75b66677e85fc83b7a4d39e836ddf964da7352ff7eb512f3b9ee71bc34b406bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f446f7567616c6c57696e736869702f6465666f726d2f70687063732e796d6c3f6272616e63683d6d6173746572266c6162656c3d5053522d3132267374796c653d666c61742d737175617265)](https://github.com/DougallWinship/deform/actions/workflows/phpcs.yml)[![Codeception](https://camo.githubusercontent.com/6d9b509226a94ab7553baa954abc308ff3548c1b966f6b09fc422fa1b42c2e74/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f446f7567616c6c57696e736869702f6465666f726d2f636f646563657074696f6e2e796d6c3f6272616e63683d6d6173746572266c6162656c3d436f646563657074696f6e267374796c653d666c61742d737175617265)](https://github.com/DougallWinship/deform/actions/workflows/codeception.yml)

Deform helps you build and process consistent HTML forms with PHP.

Components are rendered as standard HTML/CSS by default, but can also be exported as JavaScript [custom elements](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements).

[![output](./docs/example.gif)](./docs/example.gif)

Contents
--------

[](#contents)

[Installation](#installation)
[Getting Started](#getting-started)
[Features](./docs/Features.md)
[Examples](./docs/Examples.md)
[Styling](./docs/Styling.md)
[Project Info](./docs/ProjectInfo.md)
[Contact](#contact)

Quick Demo
----------

[](#quick-demo)

Direct component usage:

```
