Skip to content

Laravel CRUD Generator, Make an Advanced Web Application Quickly

Notifications You must be signed in to change notification settings

iopjkssam/crudbooster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRUDBOOSTER DEVELOPMENT

Do not use this master repository for production

Installation

Make sure you have installed newest laravel

composer require crocodicstudio/crudbooster=dev-master

Then don't forget to run the crudbooster installation command :

php artisan crudbooster:install

Quick Start

Whatever you want to use laravel artisan serve or xampp . I assume you can go to the default crudbooster path /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

  1. Create your modules
  2. Create your roles
  3. Add new User

Now you can log out, and try the admin panel by visiting /admin/login

You can always change the admin login at /config/crudbooster.php

Basic Code Knowledge

In this new CRUDBooster, we use single scaffolding for index table and form. For example :
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.

Types

These bellow are some types that you can use to make form input :

Text

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

About

Laravel CRUD Generator, Make an Advanced Web Application Quickly

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 32.6%
  • PHP 28.5%
  • HTML 22.3%
  • CSS 16.6%