Download the PHP package daku/nette-form-blueprints without Composer
On this page you can find all versions of the php package daku/nette-form-blueprints. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download daku/nette-form-blueprints
More information about daku/nette-form-blueprints
Files in daku/nette-form-blueprints
Package nette-form-blueprints
Short Description Manual rendering of Nette forms made easy.
License MIT
Informations about the package nette-form-blueprints
Form Blueprints generator for Nette Framework
This tool helps with manual rendering of Nette forms. It can generate Latte markup using various templates.
Installation
composer require daku/nette-form-blueprints
Usage
Integration with Tracy debug panel
Register the extension in config.neon:
From now on you will be able to see generated blueprints in debug panel for all forms that were attached to current presenter:
Optional configuration
Standalone usage
It is possible to generate a blueprint without integration to Tracy debug panel.
Example:
Templates
Following templates are available:
- Table (mimics Nette's default form renderer)
- Line Breaks (simple template using line breaks only)
- Bootstrap 3
- Bootstrap 3 Horizontal
- Bootstrap 3 Inline
- Bootstrap 4
- Bootstrap 4 Horizontal
- Bootstrap 4 Inline
Additional templates can be used by implementing Daku\Nette\FormBlueprints\Templates\Template
.
Requirements
PHP >= 7.1\ Nette >= 2.4
All versions of nette-form-blueprints with dependencies
nette/application Version ^2.4.1 | ^3.0
nette/forms Version ^2.4 | ^3.0
nette/utils Version ^2.4 | ^3.0
latte/latte Version ^2.4.1 | ^3.0