Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cooltriks/bootstrap-laravel-crud-generator

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Crud Generator )

Packagist Licence StyleCI

This Laravel Generator package provides and generate Controller, Model (with eloquent relations) and Views in Bootstrap for your development of your applications with single command.

This packege based on - (https://github.com/awais-vteams/laravel-crud-generator)

What Is New

  • Relationship with select in form and auto Relationship data pass in view

  • Select dropDown in form

  • Search Filter added

  • $serchable Property in Model

  • Bootstrap new Design col-md-6

  • New Feature Auto Route

  • Will create Model with Eloquent relations

  • Will create Controller with all resources

  • Will create views in Bootstrap

Requirements

Laravel >= 9.0
PHP >= 8.1
Bootstrap >= 5.0.0

Start Up

composer create-project laravel/laravel project-name
cd project-name
composer require laravel/ui
php artisan ui bootstrap --auth
npm install
npm run build

Installation

1 - Install

composer require coolhax/bootstrap-laravel-crud-generator --dev

2- Publish the default package's config

php artisan vendor:publish --tag=crud

Usage

php artisan make:crud {table_name}

php artisan make:crud banks

Add a route in web.php

  • Now auto Route Feature Not Needed
Route::resource('banks', App\Http\Controlles\BankController:class);

Route name in plural slug case.

Options

  • Custom Route
php artisan make:crud {table_name} --route={route_name}

Example

Model Model

Controller Controller

Listing Listing

Form Form

Author

Rohit Kumar // Email Me

Morty Proxy This is a proxified and sanitized view of the page, visit original site.