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

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

boyhagemann/form
================

0782PHP

Since Feb 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/boyhagemann/Form)[ Packagist](https://packagist.org/packages/boyhagemann/form)[ RSS](/packages/boyhagemann-form/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Form
====

[](#form)

[![Build Status](https://camo.githubusercontent.com/845ed3f3d7f4c3020f865840958c04e0ee4233d2f7049094a2b9dc21ee7655a9/68747470733a2f2f7472617669732d63692e6f72672f626f79686167656d616e6e2f466f726d2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/boyhagemann/Form)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/deb6a7b42c571df0875145ba59af901929537fc4261cf63055aa646ba16449b4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f79686167656d616e6e2f466f726d2f6261646765732f7175616c6974792d73636f72652e706e673f733d38313033363132373535633734373065656331333138393764626339336436633732333665306362)](https://scrutinizer-ci.com/g/boyhagemann/Form/)[![Code Coverage](https://camo.githubusercontent.com/77b495e47ace499c427bbecfe28f3c2d43d8f51982c62d882935ec37f85886e1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626f79686167656d616e6e2f466f726d2f6261646765732f636f7665726167652e706e673f733d65636234623736373762333861626438323739633839646664663436396332666666646431326134)](https://scrutinizer-ci.com/g/boyhagemann/Form/)

With this package you can:

- Generate forms using a fluent interface
- Present data from other models as choice fields like select lists, radio buttons or checkboxes.
- Render a whole form at once or render just one element in your view script.
- Use it in conjunction with the \[Crud package\] () for full admin power!

Install
-------

[](#install)

Use \[Composer\] () to install the package into your application

```
require {
    "boyhagemann/form": "dev-master"
}
```

Then add the following line in app/config/app.php:

```
...
"Boyhagemann\Form\FormServiceProvider"
...
```

Example usage
-------------

[](#example-usage)

```
