mike-funk/laravel-form-extensions

6
Install
composer require mike-funk/laravel-form-extensions
PHP:>=5.3.0
Last Updated:Aug 16, 2013
Links: GitHub  ·  Packagist
Maintainer: mikedfunk

Build Status Coverage Status

Laravel Form Extensions

At the moment this only contains booleanCheckbox().

Installation

Put this in your composer.json require object:

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

Then run composer update

Then put this in your app/config/app.php under providers:

'MikeFunk\LaravelFormExtensions\LaravelFormExtensionsServiceProvider'

Then change the binding for the Form facade in app/config/app.php under aliases:

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

You should be ready to rock!

Usage

booleanCheckbox()

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

Will return this HTML:

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

Related Packages

erirk/paypalpayment

laravel-paypalpayment is simple package help you process direct credit card paym...

0
gabrieloliverio/laravel5-generators

Database metadata-based generators for Laravel 5

1
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

628,058,007 9,707
laravel/framework

The Laravel Framework.

576,155,700 34,907
laravel/tinker

Powerful REPL for the Laravel framework.

485,678,092 7,440