1. Go to this page and download the library: Download gajus/dora 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/ */
gajus / dora example snippets
/**
* @param array $data Data used to populate Input generated using an instance of this Form.
* @param null|string $template Template class name.
*/
$form = new \Gajus\Dora\Form([
'foo' => 'Heeeere\'s...Johnny!',
'bar' => 'Yada, yada, yada.',
'baz' => 0,
'qux' => ['1', 2 => '3'],
'corge[grault]' = 'garply'
], null);