PHP code example of netvlies / form-bundle
1. Go to this page and download the library: Download netvlies/form-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
netvlies / form-bundle example snippets
public function indexAction($formId)
{
$form = $this->get('netvlies.form')->get($formId);
...
}
{{ show_form(formId) }}
bash
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar
php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Netvlies\Bundle\NetvliesFormBundle\NetvliesFormBundle(),
new Gregwar\CaptchaBundle\GregwarCaptchaBundle(),
);
}