composer require crocodicstudio/crudbooster=dev-master
Then don't forget to run the crudbooster installation command :
php artisan crudbooster:install
/developer/login
Little different? yep. For the first time, you need to make your some modules, menus, and users for your new backend.
Developer Area :
default path : /developer
default user : developer
default pass : developer
WARNING PLEASE DON'T FORGET TO CHANGE THE DEFAULT DEVELOPER CREDENTIAL AT
/config/crudbooster.php
- Create your modules
- Create your roles
- Add new User
Now you can log out, and try the admin panel by visiting /admin/login
function cbInit() {
$this->setTable("books");
$this->setPageTitle("Book Data");
$this->addText("Title");
}
As you can see we add column title it will show at index table, detail, add and edit form.
These bellow are some types that you can use to make form input : Show the input text$this->addText("FooBar");
addText parameters available :
Name | Description |
---|---|
$label | The input label |
$name | The input name |
$field_to_save | The field name if not same with the name |