2017 © Pedro Peláez
 

library laravel-form-extensions

image

mike-funk/laravel-form-extensions

  • Friday, August 16, 2013
  • by mikedfunk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Build Status Coverage Status, (*1)

Laravel Form Extensions

At the moment this only contains booleanCheckbox()., (*2)

Installation

Put this in your composer.json require object:, (*3)

"mike-funk/laravel-form-extensions": "dev-master"

Then run composer update, (*4)

Then put this in your app/config/app.php under providers:, (*5)

'MikeFunk\LaravelFormExtensions\LaravelFormExtensionsServiceProvider'

Then change the binding for the Form facade in app/config/app.php under aliases:, (*6)

'Form' => 'MikeFunk\LaravelFormExtensions\LaravelFormExtensions'

You should be ready to rock!, (*7)

Usage

booleanCheckbox()

// in the view
{{ Form::booleanCheckbox('input_name', true, array('class' => 'awesome')) }}

Will return this HTML:, (*8)

<input type="hidden" name="input_name" value="0" />
<input type="checkbox" name="input_name" value="1" checked="checked" class="awesome" />

The Versions

16/08 2013

dev-master

9999999-dev

  Sources   Download

The Requires

 

The Development Requires

by Mike Funk