avbdr / php-bootstrap-form
PHP Bootstrap Form Helper
Installs: 4 125
Dependents: 0
Suggesters: 0
Security: 0
Stars: 57
Watchers: 11
Forks: 35
Open Issues: 11
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-11-07 01:03:15 UTC
README
PHP Bootstrap Form helper 4.0 (previously PFBC/PHP Form Builder Class)
Documentation :: Discussions :: Issues
Bootstrap4 Elements Demo :: Source Code
Support Me
This software is developed during my free time and I will be glad if somebody will support me.
Everyone's time should be valuable, so please consider donating.
Latest Features:
- Bootstrap 3 and 4 support
- Added new simple API. Old API is still supported
- Added 'shared' element property to share 1 row between multiple elements in SideBySide View
- View class renamed to FormView class
- Added Form::renderArray() helper function
- Fixed prepend and append properties handling
- Added icon property to buttons
New API:
Form::open ("login"); echo '<legend>Login</legend>'; Form::Hidden ("id"); Form::Email ("Email Address:", "email", array("required" => 1)); Form::Password ("Password:", "password", array("required" => 1)); Form::Checkbox ("", "remember", array("1" => "Remember me")); Form::Button ("Login"); Form::Button ("Cancel", "button", array("onclick" => "history.go(-1);")); Form::close ();