PHP Classes

Laravel Auto Generated Form: Create forms from Laravel model classes

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 165 All time: 8,862 This week: 156Up
Version License PHP version Categories
laravel-autoform 1.6Artistic License5.5HTML, PHP 5, Databases


This class can create forms from Laravel model classes.

It takes a Laravel model class object and retrieve the object fields so it can generate a form to let the users enter values to create new objects of the model class.

The class automatically guesses the types of form inputs to create based on the field types and names.

Applications can extend the Laravel model class with the necessary information on fields to define all the details of the form to be created including relationships and validation rules.

The class can render the generated form and return the respective HTML code.

Innovation Award
PHP Programming Innovation award nominee
March 2016
Number 7

Prize: SourceGuarding PHP encoder tool
Model classes often contain metadata about the information that they store and retrieve from some database container.

This class can use metadata contained in model classes used by the Laravel framework, so it can get all the details to generate forms to store and retrieve information managed by those model classes.

Manuel Lemos
Picture of Luciano Filho
  Performance   Level  
Name: Luciano Filho <contact>
Classes: 3 packages by
Country: Brazil Brazil
Age: 32
All time rank: 3256245 in Brazil Brazil
Week rank: 578 Up44 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file Autoform.php Class Class
Accessible without login Plain text file CmsController.php Example Example of usage class
Plain text file CmsUserType.php Class Example of usage class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,862
This week:156Up