Before you create a CRUD, make sure you have prepared the database table that will be used.

To create a CRUD very easy, follow these steps:

First, click the Generator Module menu -> Add New Module

Then will come the four steps that you must enter.

Step 1

In this step you are required to fill information about modules that you create.

NameDesc
Module NameFill in with the name of the module
TableSelect the table that you will use for the module
IconSelect the icon of the module merepresantasikan
Module SlugOptional. Or you can fill with "slug" of the module. May not use special characters, can not use spaces

If you want to simultaneously create a menu for the module, please check the on options like the image above.

After clicking the "Step 2" then the system will make you a new controller file in "app / Http / Controllers /".

The format of the file name created controller is "AdminNamaController.php" where prefix with the "Admin".

Once the file controller is made, you will still be able to customize the module by opening the file controller. In it there is a framework arrangement "scaffolding" for the column and form.

Step 2

In this step you can make adjustments to the display module column.

NameDesc
ColumnFill in with the name of the column
NameFill in the "Field" in accordance with the table columns
JoinFill with a join table name if the column is "Foreign Key". You also have to fill in the "Field Name" to display the data on sebalah Join this column.
Callback PHPOpsional. Contoh : number_format($row->amount)
WidthFill the column width. If you fill 0 means the width is determined automatically by the system. (In Satun PX)
ImageIf you choose Y then this column will be used as thumbnail
DownloadIf you choose Y then this column will be available for download

Step 3

In this step you can make adjustments on the display of the Module FORM

NameDesc
LabelFill in with the name of the column
NameFill in the "Field" in the table for that column
TypeSelect the appropriate column type designation
ValidationFill validation according to validation rules on laravel
Width

Select a number from 1-10. This figure is the width according to the rules Bootstrap. The greater the number, the column is widening

OptionsEach type of column would have these kinds of option itself. Therefore, be sure to fill out this option.

* Make sure you fill in the options on the column - a column options as needed such as type "select, radio, select2"

Step 4

In this step you can adjust some settings module.

NameDesc
Title Field CandidateFill in the "Field" table that designation as a "name", "title", etc.
Limit DataFill it with numbers. This setting is used to limit the amount of data that appears on the module
Order ByFill in the format [field], [asc | desc]. Example: id, desc. This setting is used to sort the data module.
Global PrivilegeIf "TRUE" then the module will be exempted from the right of access
Show Button Table ActionIf "FALSE" then the action button in the table will be hidden
Button Action StyleYou can set the display to the action button on the table, among others:
button_icon = Action button in the form of "Button" and "Icon"
button_text = Action button in the form of "Button" and "Text"
button_icon_text = Action button in the form of "Button, Text, Icon"
dropdown = Action button in the form of "dropdown", suitable for the many options for action
Show Button AddIf "FALSE" then the "Add Data" will be hidden
Show Button Edit

If "FALSE" then "Edit" button on the table will be hidden

Show Button DeleteIf the "FALSE" then the "Delete" button in the table will be hidden, also the Delete button Selected
Show Button DetailIf "FALSE" then the "Details" button in the table will be hidden, also the Delete button Selected
Show Button Show Data

If "FALSE" then the "Show Data"  the module will be hidden

Show Filtering And SortingIf "FALSE" then the "Filter" will be hidden
Show Button ImportIf "FALSE" then the "Import" will be hidden. By default this key set "FALSE"
Show Button ExportIf "FALSE" then the "export" will be hidden. By default this key set "FALSE"