2017 © Pedro Peláez
 

library php-forms

Form builder

image

nitroxy/php-forms

Form builder

  • Friday, September 23, 2016
  • by ext
  • Repository
  • 3 Watchers
  • 0 Stars
  • 88 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 16 Versions
  • 0 % Grown

The README.md

Form builder for PHP

Build Status Coverage Status, (*1)

Installation

composer require nitroxy/php-forms, (*2)

Features

  • Create HTML5 forms easily.
  • Layout engine (supports tables, divs and bootstrap out-of-the-box).
  • Bind forms to PHP objects for reading/data and presenting validation errors.
  • CSRF protection.
  • Supports REST-verbs such as PATCH, PUT, DELETE or even custom if desired.

Example

Form::from_object($user, function($f){
  $f->text_field('name', 'Name');
  $f->text_field('age', 'Age', ['type' => 'number', 'min' => 1]);
  $f->select(FormSelect::from_array($f, 'role', array('', 'Manager', 'Frobnicator', 'Developer'), 'Role'));
  $f->textarea('description', 'Description');
}, ['action' => $user->url, 'method' => 'patch']);

See documentation for examples and usage., (*3)

The Versions

23/09 2016

1.4.x-dev

1.4.9999999.9999999-dev

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

23/09 2016

1.4.3

1.4.3.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

17/08 2016

1.4.2

1.4.2.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

17/08 2016

dev-master

9999999-dev

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.6.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

14/08 2016

1.4.1

1.4.1.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

14/07 2016

1.4.0

1.4.0.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

08/06 2016

1.3.0

1.3.0.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

07/06 2016

1.2.4

1.2.4.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

02/06 2016

1.2.3

1.2.3.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

01/06 2016

1.2.2

1.2.2.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

31/05 2016

1.2.1

1.2.1.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

30/05 2016

1.2.0

1.2.0.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

29/05 2016

1.1.0

1.1.0.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

21/02 2016

v1.0.2

1.0.2.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

11/10 2015

v1.0.1

1.0.1.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi

14/04 2015

v1.0.0

1.0.0.0

Form builder

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.4.0

 

The Development Requires

by David Sveningsson
by Andreas Tarandi