Skip to content

arrack/php-formlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FormLib

generate html form object

Example

<?php
// input text box
echo FormLib::text('name', 'input your name');
echo FormLib::text('name', 'input your name', ['readonly' => true, 'size' => 5]);

// select
$options = [
    'A1' => 'AAA',
    'B1' => 'BBB'
];
echo FormLib::select('category', 'B1', $options);

About

php formlib like laravel form

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages