dev-master
9999999-devLaravel form builder,Easy way to make Forms with laravel
MIT
The Requires
- php >=5.4.0
- illuminate/support 4.*
by Dinesh Rabara
laravel form easy form builder
Laravel form builder,Easy way to make Forms with laravel
Begin by installing this package through Composer.
Edit your project's composer.json
file to require dinesh/easyform
., (*2)
"require": { "laravel/framework": "4.*", "dinesh/easyform": "dev-master" }
Next, update Composer from the Terminal:, (*3)
composer update
OR, (*4)
composer require dinesh/easyform:dev-master
Once this operation completes, the next step is to add the service provider. Open app/config/app.php
, and add a new item to the providers array., (*5)
'Dinesh\Easyform\EasyformServiceProvider',
Next, you need to publish it's config file(s)., (*6)
php artisan config:publish dinesh/easyform
default config template, (*7)
return array( 'templates' => array( 'default' => '{{label}}', 'default2' => '{{tag}} {{error-first}}{{label}}00000000', ), 'tags' => array('{{test}}' => 'default_value'), );{{tag}}
example, (*8)
{{EasyForm::text('first_name',null,array('class'=> 'form-control')) ->label('First Name:',array('class'=>'col-sm-2 control-label')) ->error($errors)}}
Laravel form builder,Easy way to make Forms with laravel
MIT
laravel form easy form builder