This package provides an artisan command to generate a basic crud with Restful API support

Related tags


NHRROB Crud Generator Package

Stars Total Downloads Latest Stable Version GitHub license

This package provides an artisan command to generate a basic crud

composer install command:

composer require nhrrob/crudgenerator

Crud Generator Commands

  • install:
php artisan crud:generator
  • If you want to keep backend files under Admin folder
    File Structure: Check below (Section => Bonus : Admin File Structure)
php artisan crud:generator --admin
  • Migration: Add title field and run migration
    • add field:
    • run migration:
    php artisan migrate


  • This package creates resource route. Example:
    • Model title: Post
    • Resource route:
  • If you want to use Api, make sure Passport is installed.

Loom Videos:

Modify Stubs:

  • Publish vendor files
php artisan vendor:publish

Remove Crud Generated Files:

  • Delete Crud
php artisan crud:generator:delete
  • If you have generated crud under Admin folder:
php artisan crud:generator:delete --admin
  • Manually delete migration file and remove route from web.php

Feel free to contact: | Twitter | Linkedin | Email


Laravel 8 auth using laravel/ui:

composer require laravel/ui
php artisan ui bootstrap --auth
npm install && npm run dev
php artisan migrate

Bonus : API

API Helpline:

php artisan passport:install

Bonus : Admin File Structure

  • When you add --admin in crud generator commands =>
    It adds admin folder for views and Admin folder for controllers (including Api)

  • Sample File/Folder Structure:




#API Controllers
Nazmul Hasan Robin
Web Developer | PHP | Laravel | VueJS | WordPress | AWS
Nazmul Hasan Robin
Someline Starter is a PHP framework for quick building Web Apps and Restful APIs, with modern PHP design pattern foundation.

Someline Starter PHP Framework Tested and used in production by Someline Inc. Someline Starter is a PHP framework for quick building Web Apps and Rest

Someline 852 Jun 3, 2021
Prepare your Laravel apps incredibly fast, with various commands, services, facades and boilerplates.

Grafite Builder Grafite has archived this project and no longer supports or develops the code. We recommend using only as a source of ideas for your o

Grafite Inc 1k Jun 10, 2021
Basic Crud Generator (With Code Files, like GII (YII2)) Using Laravel, Livewire and Tailwind CSS

LiveCrud Live Crud Generator. This package generates Basic Crud with Livewire. Features Generate Complete Crud With Livewire Component and Blade Files

Ritesh Singh 9 Jun 10, 2021
A Laravel 5 package that switchs default Laravel scaffolding/boilerplate to AdminLTE template and Pratt Landing Page with Bootstrap 3.0

AdminLTE template Laravel package A Laravel package that switch default Laravel scaffolding / boilerplate to AdminLTE template with Bootstrap 3.0 and

Sergi Tur Badenas 1.8k May 22, 2021
A Laravel Starter Kit for Laravel. Built with Laravel 8.

Laravel Get Started Project Laravel Get Started Project is a basic crud app built with laravel 8. In this app a basic product crud created. Features i

Nazmul Hasan Robin 4 May 16, 2021
:computer: :octocat: A hackathon/MVP boilerplate for laravel web applications. Start your hackathons without hassle.

Laravel Hackathon Starter - SUSUMU 進 If you have attended any hackathons in the past, then you know how much time it takes to get a project started: d

Prosper Otemuyiwa 1.6k Jun 14, 2021
Until 2018, Backpack v3 used this Base package to offer admin authentication and a blank admin panel using AdminLTE. Backpack v4 no longer uses this package, they're now built-in - use Backpack/CRUD instead.

Note: This package is only used by Backpack v3. Starting with Backpack v4, everything this package does is included in Backpack/CRUD - one package to

Backpack for Laravel 851 Jun 4, 2021
LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like Advanced CRUD Generation, Module Manager, Backups and many more.

LaraAdmin 1.0 LaraAdmin is a Open source CRM for quick-start Admin based applications with features like Advanced CRUD Generation, Schema Manager and

Dwij IT Solutions 1.4k Jun 4, 2021
:elephant: A Laravel 6 SPA boilerplate with a users CRUD using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass, and Pug.

Laravel Vue Boilerplate A Laravel 6 Single Page Application boilerplate using Vue.js 2.6, GraphQL, Bootstrap 4, TypeScript, Sass and Pug with: A users

Alefe Souza 486 Jun 9, 2021
Laravel + Livewire + Bootstrap 5 UI starter kit.

bastinald/ui Laravel + Livewire + Bootstrap 5 UI starter kit. Requirements Laravel 8 NPM Features Bootstrap 5 pre-configured Textarea autosize Floatin

null 33 Jun 9, 2021
Rest API boilerplate for Lumen micro-framework.

REST API with Lumen 5.5 A RESTful API boilerplate for Lumen micro-framework. Features included: Users Resource OAuth2 Authentication using Laravel Pas

Hasan Hasibul 471 Jun 2, 2021
A package for adding loading spinners to your Laravel Artisan commands

Table of Contents Overview Installation Requirements Install the Package Usage Adding Loading Spinners to Commands Adding Text to the Spinner Customis

Ash Allen 4 May 5, 2021
A Laravel Admin Panel (Laravel Version : 6.0)

Laravel Admin Panel (Current: Laravel 7.*) Introduction Laravel Admin Panel provides you with a massive head start on any size web application. It com

ftxinfotech 809 Jun 3, 2021
Build and deploy Non-Fungible Algorand Tokens with Laravel & IPFS

Introduction Laravel is a web application framework with an expressive, elegant syntax designed to make developing web apps easier and faster through

Tomas Verhelst 4 May 30, 2021