Looking to hire Laravel developers? Try LaraJobs

laravel-crud-generator maintained by sakshstore

Description
Laravel 9 Crud Generator
Author
Last update
2023/02/05 09:57 (dev-main)
License
Links
Downloads
2

Comments
comments powered by Disqus

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.

  • Will create Model with Eloquent relations
  • Will create Controller with all resources
  • Will create views in Bootstrap [cleaned]

Requirements

Laravel >=9
PHP >= 8

Installation

1 - Install

composer require sakshstore/laravel-crud-generator

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

Route::resource('banks', 'BankController');

Route name in plural slug case.

Options

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