Download the PHP package alamarnissi/json-dynamic-form-builder without Composer
On this page you can find all versions of the php package alamarnissi/json-dynamic-form-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download alamarnissi/json-dynamic-form-builder
More information about alamarnissi/json-dynamic-form-builder
Files in alamarnissi/json-dynamic-form-builder
Download alamarnissi/json-dynamic-form-builder
More information about alamarnissi/json-dynamic-form-builder
Files in alamarnissi/json-dynamic-form-builder
Vendor alamarnissi
Package json-dynamic-form-builder
Short Description A dynamic JSON form builder library for PHP.
License MIT
Package json-dynamic-form-builder
Short Description A dynamic JSON form builder library for PHP.
License MIT
Please rate this library. Is it a good library?
Informations about the package json-dynamic-form-builder
JSON Form Builder
Create Dynamic Form-Configurations in a JSON Format to render it with your Frontend Environment of Choice
Features
- โ Define forms using object-oriented PHP
- ๐งฑ Supports all common input fields (input, checkbox, radio, select, textarea)
- ๐ Textual elements like headlines, paragraphs, quotes
- ๐ฆ Container support (planned): Group fields in columns or sections
- ๐งฉ Extensible architecture (add your own field types!)
- ๐ JSON serialization: Export your form to use in frontend apps
- ๐งช Unit test ready and clean structure
- โ๏ธ Composer-ready (planned for Packagist)
Supported Form Elements
Form Fields
- Input with different Types like "text", "color", "range, "number"
- Textarea
- Single Checkbox
- Checkbox Groups
- Single RadioButton
- RadioButton Group
- Select / Select (multiple)
Text Elements
- Headlines (h1 - h6)
- Paragraphs
- Quote
- Container (div)
Extendable
Create your own Form or Text Element like Image-Uploads or totally custom Elements.
Directory Structure
Planned Extensions
| Feature | Status |
|---|---|
| Field validation rules | ๐ Planned |
| Conditional logic support | ๐ Planned |
| Container/grouping layout | ๐ Planned |
| API for frontend usage | ๐ Planned |
| Vue/React renderer | ๐ Planned |
| Submission endpoint support | ๐ Planned |
Planned Extensions
| Class | Description |
|---|---|
JsonForm |
Main form container. |
FormFieldCollection |
Manages fields. |
FormTextElementCollection |
Manages headings, paragraphs, etc. |
Input, Checkbox, Select, etc. |
Various field types. |
Headline1 through Headline6 |
Header elements. |
Paragraph, Quote |
Textual elements. |
Basic Example
Code
JSON
All versions of json-dynamic-form-builder with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3
ext-json Version *
marc-mabe/php-enum Version ^4.2
beberlei/assert Version ^3.2
ext-json Version *
marc-mabe/php-enum Version ^4.2
beberlei/assert Version ^3.2
The package alamarnissi/json-dynamic-form-builder contains the following files
Loading the files please wait ...