PHP code example of suframe / form
1. Go to this page and download the library: Download suframe/form 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/ */
suframe / form example snippets
git clone https://github.com/suframe/form
cd form/demo
composer install
php -S 0.0.0.0:9000 index.php
$form = new \suframe\form\Form();
$form->createElm();
$form->setRuleByClass(Fields::class);
echo $form->view();