Package Data | |
---|---|
Maintainer Username: | mikedfunk |
Maintainer Contact: | mike@mikefunk.com (Mike Funk) |
Package Create Date: | 2013-08-13 |
Package Last Update: | 2013-08-16 |
Language: | PHP |
License: | Unknown |
Last Refreshed: | 2024-11-25 15:05:53 |
Package Statistics | |
---|---|
Total Downloads: | 6 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 3 |
Total Forks: | 0 |
Total Open Issues: | 0 |
At the moment this only contains booleanCheckbox()
.
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!
// 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" />