2017 © Pedro Peláez
 

library form-component

image

pieter/form-component

  • Tuesday, October 8, 2013
  • by broklyngagah
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

L4 Form component (practice)

This form component just for practice, (*1)

installing

for simple way, try using composer, add this on your composer.json file in require tag, (*2)

"pieter/form-component": "dev-master"

and run from terminal, (*3)

~/php composer.phar update "pieter/form-component"

after that, add this code on app/config/app.php, (*4)

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, (*5)

{{ CForm::custom_year('tahun', array(2008, 2013)) }}

enjoy it !, (*6)

The Versions

08/10 2013

dev-master

9999999-dev

  Sources   Download

The Requires

 

by pieter lelaona