PHPackages                             ui-awesome/form-model - 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. ui-awesome/form-model

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

ui-awesome/form-model
=====================

Form metadata and validation errors for model-driven PHP forms.

0.1.0(2y ago)1227mitPHPPHP ^8.1CI passing

Since Mar 18Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ui-awesome/form-model)[ Packagist](https://packagist.org/packages/ui-awesome/form-model)[ RSS](/packages/ui-awesome-form-model/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (8)Used By (0)

 [ ![UIAwesome](https://avatars.githubusercontent.com/u/103309199?s%25253D400%252526u%25253Dca3561c692f53ed7eb290d3bb226a2828741606f%252526v%25253D4) ](https://github.com/ui-awesome/form-model)

UIAwesome Form Model for PHP
============================

[](#uiawesome-form-model-for-php)

 [ ![PHPUnit](https://camo.githubusercontent.com/588afc7e141fe801072720de617695e150be54db45baac8a5035c87a9b6eb93e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f75692d617765736f6d652f666f726d2d6d6f64656c2f6275696c642e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d504850556e6974266c6f676f3d676974687562) ](https://github.com/ui-awesome/form-model/actions/workflows/build.yml) [ ![Mutation Testing](https://camo.githubusercontent.com/d8da4e31adf369738f4dc94362209b9d5fe597eda113e8150f23c68355deeb5c/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666f722d7468652d62616467652675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324675692d617765736f6d65253246666f726d2d6d6f64656c2532466d61696e) ](https://dashboard.stryker-mutator.io/reports/github.com/ui-awesome/form-model/main) [ ![PHPStan](https://camo.githubusercontent.com/b05461ac562e0719d83e6c054b50c9b04be0e0c3bac620218116f03d43a1239b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f75692d617765736f6d652f666f726d2d6d6f64656c2f7374617469632e796d6c3f7374796c653d666f722d7468652d6261646765266c6162656c3d5048505374616e266c6f676f3d676974687562) ](https://github.com/ui-awesome/form-model/actions/workflows/static.yml)

 **Form metadata and validation errors for model-driven PHP forms**
 *Hints, labels, placeholders, field configuration, nested field metadata, and field-scoped error handling*

Features
--------

[](#features)

  ![Feature Overview](./docs/svgs/features-mobile.svg)Installation
------------

[](#installation)

```
composer require ui-awesome/form-model:^0.2
```

Quick start
-----------

[](#quick-start)

```
