Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

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.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 abstracts
Octocat-spinner-32 documentation
Octocat-spinner-32 elements
Octocat-spinner-32 exceptions
Octocat-spinner-32 lib
Octocat-spinner-32 tests
Octocat-spinner-32 validators
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 composer.json
Octocat-spinner-32 htmlform.php
Octocat-spinner-32 uploadprogress.php
README.md

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

Latest Stable Version Build Status

Features

  • validation
    • server side
    • client side (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

Download

Install Using Composer

Get composer at http://getcomposer.org 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

License (dual)

Something went wrong with that request. Please try again.