https://github.com/depage/depage-forms
depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.
https://github.com/depage/depage-forms
form-builder forms html5-forms php php-library
Last synced: 10 months ago
JSON representation
depage-forms is PHP library for HTML form generation with focus on usability. It is part of the upcoming version of depage-cms, but it also works as a standalone library. By abstracting HTML, browser flaws (duplicate form submissions) and form validation, it provides a comfortable way to obtain reliable and validated data from users.
- Host: GitHub
- URL: https://github.com/depage/depage-forms
- Owner: depage
- Created: 2011-01-09T20:31:57.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2025-01-21T16:06:23.000Z (about 1 year ago)
- Last Synced: 2025-03-27T01:12:50.053Z (about 1 year ago)
- Topics: form-builder, forms, html5-forms, php, php-library
- Language: JavaScript
- Homepage: http://docs.depage.net/depage-forms/
- Size: 1.58 MB
- Stars: 22
- Watchers: 5
- Forks: 10
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
depage-forms: HTML5-forms in PHP with ease and comfort
=======================================================
depage-forms is PHP library for HTML form generation with focus on usability.
It is part of the upcoming version of [depage-cms](http://www.depagecms.net),
but it also works as a standalone library. By abstracting HTML, browser flaws
(duplicate form submissions) and form validation, it provides a comfortable
way to obtain reliable and validated data from users.
[](https://packagist.org/packages/depage/htmlform)
[](https://travis-ci.org/depage/depage-forms)
Features
--------
- validation
- server side
- client side [(jQuery Tools)](http://flowplayer.org/tools/ "jQuery Tools")
- available for standard input elements
- customizable with regular expressions
- basic CSRF protection
- HTML5 form features
- attributes : placeholder, autofocus, textbox datalists, title, pattern
- input elements : boolean (checkbox), email, hidden, multiple (checkbox, select list), number, password, range, search, single (radio, select list), tel, text, textarea, url
- richtext element (wysiwyg HTML editor)
- averts form resubmission
- divide forms into ѕeparate parts
- neat return values with appropriate data types
- easy language localisation
- session timeout
- simple creditcard validation (by values)
- unit tested
Prerequisites
-------------
- PHP 5.3
- jQuery >=1.4.3 (optional, for client side validation and richtext field)
Introduction
------------
- You can get a basic introduction at:
[depage-forms: html5 forms made easy (part I)](Docs/Introduction.md)
- How to do Form Validation
[depage-forms: validation of html5 forms (part II)](Docs/Validation.md)
Download
--------
-
Install Using Composer
----------------------
Get composer at and then just add this to your composer.json.
{
"require": {
"depage/htmlform": "*"
}
}
Now run
composer install
to install the current version of depage-htmlform into your vendor dir.
For more information
--------------------
- You can fork us at:
- You find the documentation at:
- For more information about depage-cms go to:
- if you want to support with development
[More info](Docs/Developer.md)
License (dual)
--------------
- GPL2:
- MIT: