pieter / form-component
There is no license information available for the latest version (dev-master) of this package.
dev-master
2013-10-08 08:50 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
This package is not auto-updated.
Last update: 2024-11-05 06:56:09 UTC
README
This form component just for practice
installing
for simple way, try using composer, add this on your composer.json file in require tag
"pieter/form-component": "dev-master"
and run from terminal
~/php composer.phar update "pieter/form-component"
after that, add this code on app/config/app.php
array(
'providers' => array (
other providers,
'Pieter\FormComponent\FormComponentServiceProvider',
),
'aliases' => array (
other aliases,
'CForm' => 'Pieter\FormComponent\Facades\CDate',
)
),
)
How to use
just call the cForm from [your-view].blade.php
{{ CForm::custom_year('tahun', array(2008, 2013)) }}
enjoy it !