/php-flexforms

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

Primary LanguagePHP

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.

Donate Discord

Features

  • 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.

Usage

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.