PHPackages                             zenbox/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. [HTTP &amp; Networking](/categories/http)
4. /
5. zenbox/form

ActiveLibrary[HTTP &amp; Networking](/categories/http)

zenbox/form
===========

Form HTML builder standalone component

1.0.1(4y ago)010MITPHPPHP ^7.4

Since Jan 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zenbox-group/form)[ Packagist](https://packagist.org/packages/zenbox/form)[ Docs](https://github.com/zenbox-group/form)[ RSS](/packages/zenbox-form/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (5)Versions (3)Used By (0)

ZenBox Form
===========

[](#zenbox-form)

[![PHP Version](https://camo.githubusercontent.com/0d9b4c222adb5e69cd9d2011f5eaa6ce1e38cb6d95dc4085fb325f5032e1cedb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7a656e626f782f666f726d2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/zenbox/form)[![Stable Version](https://camo.githubusercontent.com/412a59c344f3b715932005e8f01d65d9500161558b95c714ca8982ead90880e2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a656e626f782f666f726d2e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d4c6174657374)](https://packagist.org/packages/zenbox/form)[![Total Downloads](https://camo.githubusercontent.com/2de20c7cf53e54c7313427394572ab99c921c7d50e145036082aaf1fd09493ff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a656e626f782f666f726d2e7376673f7374796c653d666f722d7468652d6261646765266c6162656c3d546f74616c2b646f776e6c6f616473)](https://packagist.org/packages/zenbox/form)

Form HTML builder standalone component. Bootstrap 4 form renderer. Symfony or Laminas validation.

Installation
------------

[](#installation)

Using Composer:

```
composer require zenbox/form
```

Configuration
-------------

[](#configuration)

Use the static method for the rendering and validation configuration

```
// or Bootstrap4 and Symfony Validator
Form::configuration(\ZenBox\Form\Renderer\Bootstrap4FormRenderer::class, \ZenBox\Form\Validator\SymfonyFormValidator::class);
// or Bootstrap4 and Laminas Validator
Form::configuration(\ZenBox\Form\Renderer\Bootstrap4FormRenderer::class, \ZenBox\Form\Validator\LaminasFormValidator::class);
```

Instantiation
-------------

[](#instantiation)

```
