2017 © Pedro PelĂĄez
 

library forms

Forms creation made easy

image

rocket/forms

Forms creation made easy

  • Saturday, January 2, 2016
  • by onigoetz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Forms, simplified

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads, (*1)

Wrapper around form creation, also handles putting the value of a sent form, default values, and adding classes for errors., (*2)

The markup is made for Twitter Bootstrap version 3, (*3)

Install

Via Composer, (*4)

``` bash $ composer require rocket/forms, (*5)


## Usage ### PHP ```php echo Forms::email('email', 'Adresse E-mail')->width(6); echo Forms::password('password', 'Mot de passe')->width(6); echo Forms::checkbox('remember', 'Se souvenir de moi')->width(6);

Blade

{{ Forms::email('email', 'Adresse E-mail')->width(6) }}
{{ Forms::password('password', 'Mot de passe')->width(6) }}
{{ Forms::checkbox('remember', 'Se souvenir de moi')->width(6) }}

Twig

With the twig extension, it is very easy to create form fields with a fluid syntax, (*6)

{% form 'email' 'Adresse E-mail' 'email' width(6) %}
{% form 'password' 'Mot de passe' 'password' width(6) %}
{% form 'remember' 'Se souvenir de moi' 'checkbox' width(6) %}

Testing

All the tests live in the main project., (*7)

Contributing

Please see CONTRIBUTING for details., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

02/01 2016

dev-master

9999999-dev

Forms creation made easy

  Sources   Download

MIT

The Requires

 

06/02 2015

dev-laravel4

dev-laravel4

Forms creation made easy

  Sources   Download

The Requires