PHP code example of weotch / former
1. Go to this page and download the library: Download weotch/former 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/ */
weotch / former example snippets
Former::horizontal_open()
->id('MyForm')
->rules(['name' => 'ing
->class('myclass') # arbitrary attribute support
->value('Joseph')
->otstrap directives like "lg and btn-primary"
->large_inverse_reset('Reset');
Former::close();
use Former\Facades\Former;