PHPackages                             daku/nette-form-blueprints - 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. daku/nette-form-blueprints

ActiveLibrary

daku/nette-form-blueprints
==========================

Manual rendering of Nette forms made easy.

v1.0.0(6y ago)1114MITPHPPHP &gt;=7.1

Since May 7Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/danielkurecka/nette-form-blueprints)[ Packagist](https://packagist.org/packages/daku/nette-form-blueprints)[ RSS](/packages/daku-nette-form-blueprints/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Form Blueprints generator for Nette Framework
=============================================

[](#form-blueprints-generator-for-nette-framework)

This tool helps with manual rendering of Nette forms. It can generate Latte markup using various templates.

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

[](#installation)

`composer require daku/nette-form-blueprints`

Usage
-----

[](#usage)

### Integration with Tracy debug panel

[](#integration-with-tracy-debug-panel)

Register the extension in config.neon:

```
extensions:
	formBlueprints: Daku\Nette\FormBlueprints\FormBlueprintsExtension
```

From now on you will be able to see generated blueprints in debug panel for all forms that were attached to current presenter:

[![Form Blueprints Tracy panel](https://camo.githubusercontent.com/f88443d41e3a34afe68b124cc9df5ffa5e936836d7807bfdcf9e420c5672abd6/68747470733a2f2f64616e69656c6b757265636b612e6769746875622e696f2f6e657474652d666f726d2d626c75657072696e74732f666f726d2d626c75657072696e74732d70616e656c2e706e67)](https://camo.githubusercontent.com/f88443d41e3a34afe68b124cc9df5ffa5e936836d7807bfdcf9e420c5672abd6/68747470733a2f2f64616e69656c6b757265636b612e6769746875622e696f2f6e657474652d666f726d2d626c75657072696e74732f666f726d2d626c75657072696e74732d70616e656c2e706e67)

#### Optional configuration

[](#optional-configuration)

```
formBlueprints:
	indentation: '    ' # change indentation to spaces

	# add custom templates
	templates:
		- CustomTemplate
```

### Standalone usage

[](#standalone-usage)

It is possible to generate a blueprint without integration to Tracy debug panel.

Example:

```
