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

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

jin2chen/form-model
===================

The package helps with implementing data entry forms.

03[1 PRs](https://github.com/jin2chen/form-model/pulls)PHP

Since Jun 16Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

Form Model
==========

[](#form-model)

The package helps with implementing data entry forms.

[![Build status](https://github.com/jin2chen/form-model/workflows/build/badge.svg)](https://github.com/jin2chen/form-model/actions?query=workflow%3Abuild)[![static analysis](https://github.com/jin2chen/form-model/workflows/static%20analysis/badge.svg)](https://github.com/jin2chen/form-model/actions?query=workflow%3A%22static+analysis%22)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/eae7595e83ace19e1bfcce26c90a6b331c2e4ec8759cb49dcdf5e4f4f5a7d14c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a696e326368656e2f666f726d2d6d6f64656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jin2chen/form-model/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f7ad1ba182ebce566a657e2c8dab3436e29100cea412a8958f208f9c39025d65/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6a696e326368656e2f666f726d2d6d6f64656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/jin2chen/form-model/?branch=master)

### Installation

[](#installation)

The package could be installed via composer:

```
composer require jin2chen/form-model --prefer-dist
```

### Usage

[](#usage)

You must create your form model by extending the abstract form class, defining all the private properties with their respective typehint.

Example: LoginForm.php

```
