PHP code example of mzur / kirby-uniform
1. Go to this page and download the library: Download mzur/kirby-uniform 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/ */
mzur / kirby-uniform example snippets
use Uniform\Form;
return function ($kirby) {
$form = new Form([
'email' => [
'rules' => ['ST')) {
$form->emailAction([
'to' => '[email protected]',
'from' => '[email protected]',
])->done();
}
return compact('form');
};
html+php
<form action=" echo $page->url()