Skip to content
FlexForms is a powerful HTML forms generator/builder PHP class to output HTML forms using PHP arrays. MIT or LGPL.
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.


Type Name Latest commit message Commit time
Failed to load latest commit information.

FlexForms for PHP

FlexForms is a powerful HTML forms generator/builder class to output HTML forms using PHP arrays. Choose from a MIT or LGPL license.

FlexForms is the culmination of seven years of precision software development boiled down into a little over 1,200 lines of code ready for your next web application. The core functionality is trusted and has been deployed widely throughout the world.



  • Simplifies HTML forms and eliminates error-prone, hand-crafted HTML form code for 99% of all use-cases.
  • Supports per-field custom HTML output for the remaining 1% of use-cases.
  • Automatic dependency chains for both external and inline CSS and Javascript.
  • Per-field error message support.
  • Highly extensible.
  • AJAX-ready.
  • XSS/XSRF defenses built-in. Signed message support for displaying global errors and other information to the end-user.
  • Optional support for random field names on a per-user/session basis. Easily make a bot operator's life miserable.
  • Has a liberal open source license. MIT or LGPL, your choice.
  • Designed for relatively painless integration into your project.
  • Sits on GitHub for all of that pull request and issue tracker goodness to easily submit changes and ideas respectively.


See the FlexForms documentation for example usage.

See Admin Pack for rapidly building powerful, customized administration interfaces based on FlexForms.

Expand FlexForms functionality with FlexForms Extras and FlexForms Modules.

You can’t perform that action at this time.