Universal form builder for Nette framework
Pull request Compare This branch is 3 commits behind janmarek:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
NFormBuilder
tests
.gitignore
composer.json
readme.txt

readme.txt

NFormBuilder
============

This tool can load metadata from database, doctrine metadata, symfony validation annotations or whatewer you want (if you implement simple interface) and then it helps you create forms in Nette framework.

<?php

$form = new UI\Form();
$dbTable = 'blog';

$formBuilderFactory->create($form, $dbTable)
	->add('name', 'slug', 'text', 'allowed');

// this syntax can be changed in future