Download the PHP package raftalks/form without Composer
On this page you can find all versions of the php package raftalks/form. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download raftalks/form
More information about raftalks/form
Files in raftalks/form
Package form
Short Description Easy way to make Forms with PHP. Specially useful with Laravel 4.
License BSD
Informations about the package form
Form Maker
Form Maker can help buildind forms in PHP. Specially developed package for Laravel 4.
Updated to version 1.3.1
- Fixed namespace structure
Updated to version 1.2.3
Change Log
- Added support to create table, tr, th, td, thead, tbody, etc to generate html Table
- Added additional support for html container type tags
- Added secondary optional parameter to set method for container attributes, example $form->setNgBind($value, 'ng-bind'); which will force the attribute to be set as given in second parameter.
Updated to version 1.2.2
Change Log
- Added Support to Share Data across nested Closures
- Added method to share form errors
- Added Support to putText inside a container
- Added support for tag element to fill an array of attributes using method setAttributes()
- Added method include_all(Closure $callback) to include template in all forms generated
- Fixed bug with Select input type
Updated to version 1.2.0
Change Log
- Added Support to create Macros
- Added Support to create global Html Tag Decorator
- Added Support to include Template structure for advanced UI interface
Upgrade from version 1.0.0
- Download the updates using Composer update command
- In Laravel 4, add the additional class Html class alias
To Use with Laravel 4
Install the package via composer. Now we need to put the class Alias inside L4 app/config/app.php file. Find the aliases key which should be below the providers key and put the following inside its array.
Now you can try using the Form::make(function($form){ ...here you can put the form fields ...});
Features
Following shows you how this package library is used to make forms.
New Features added to version 1.2.3
New Features added to version 1.2.2
Form elements common to all forms generated
When using with a framework like Laravel, you may want to include some element like hidden csrf token in all the forms. We can do this by making a template of csrf and putting it in the Form::include_all() method.
Now we can share variables across nested closure methods. For example we want to pass the POST data or Error messages, which is used to set the value of the field.
other new features added includes
Additional Features added to version 1.2.0
version 1.0.0 features
Documentation
will be updated soon.
Copyright and License
FormMaker was written by Raftalks for the Laravel framework. FormMaker is released under the MIT License. See the LICENSE file for details.
Copyright 2011-2012 Raftalks