Laravel Package for crud generation

Overview

Crud and API Generator Package

Stars Issues License Packagist Downloads

Package which let's you automate tedious CRUD Operations.

Requirements

Laravel Version: >= 8.0
PHP Version: >= 7.3
Composer: >= 2.0

Installation

composer require niraj/crudstarter --dev
php artisan vendor:publish --tag=crud-stub

Usage

  • To generate CRUD

php artisan gen:crud {ModelName}

  • To generate API

php artisan gen:api {ModelName}

  • To delete CRUD Files

php artisan del:crud {ModelName}

  • To delete API Files

php artisan del:api {ModelName}

Example: To generate Post CRUD php artisan gen:crud Post

What will be generated !

These will let you generate

  • CRUD [ Model, Controller, Blade Files, Request, Migration ] with Feature Test Skeleton!
  • API [ ApiController, ApiRequest, ApiResource ] with Feature Test Skeleton!

Note: Model, Factory, Migration can be also generated for API if needed.

Customizations

  • You can easily customize everything to your need by simply changing stubs files present in crud-stub folder present in resources/crud-stub

Notes

  • Though Files will be generated automatically, You will need to add migrations and FormRequest data.

  • You may have to easily customize blade files according to your dashboard template. Which Can be done easily.

  • HAPPY CODING 🤘

You might also like...
Crud en Laravel 8 con dos tablas relacionadas

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Minicursos de CRUD com o Laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Dockerized Laravel project with authentication and car brand crud functionalities.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps !

🚀 CRUDBOOSTER - Laravel CRUD Generator Laravel CRUD Generator, Make a Web Application Just In Minutes, Even With Less Code and fewer Steps ! About CR

A CRUD app made with Laravel and VueJS 3 (API Composition)

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Construindo um CRUD com o LARAVEL, com o objetivo de aprender e dominar esta tecnologia.
Construindo um CRUD com o LARAVEL, com o objetivo de aprender e dominar esta tecnologia.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

A simple crud (Create-Read-Update-Delete). A little practice with Laravel v6*

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

laravel adminlte with crud upload photo, ckeditor, validation & rest api

laravel crud with adminlte + restapi feature : Auth crud product (datatable, upload product using ajax, description with ckeditor) crud category displ

Building Student Management CRUD with LARAVEL VUE and INERTIA

Building Student Management CRUD with LARAVEL VUE and INERTIA. the amazing thing about I got by combining these technologies is we ca build single page application or SPA .

Comments
  • Trait 'Niraj\CrudStarter\traits\tableTrait' not found

    Trait 'Niraj\CrudStarter\traits\tableTrait' not found

    Traits is not properly imported in the Command folder files. There is spelling mistake.

     Symfony\Component\ErrorHandler\Error\FatalError
    
      Trait 'Niraj\CrudStarter\traits\tableTrait' not found
    
      at vendor/niraj/crudstarter/src/Commands/ApiGenerator.php:13
          9â–• use Niraj\CrudStarter\Traits\CommonCode;
         10â–• use Niraj\CrudStarter\Traits\logoTrait;
         11â–• use Niraj\CrudStarter\traits\tableTrait;
         12â–•
      ➜  13▕ class ApiGenerator extends Command
         14â–• {
         15â–•     use tableTrait, logoTrait, CommonCode;
         16â–•
         17â–•     protected $signature = 'gen:api {name} {--fields=}';
    
    
       Whoops\Exception\ErrorException
    
    opened by anilvpatel21 0
Releases(5.3.0)
Owner
Niraj Basnyat(badass)
Beware ! My codes can be a turn-on.
Niraj Basnyat(badass)
Laravel CRUD Generator This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless development of your applications.

Laravel CRUD Generator This Generator package provides various generators like CRUD, API, Controller, Model, Migration, View for your painless develop

AppzCoder 1.3k Jan 2, 2023
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 845 Nov 29, 2022
A super simple crud package for laravel

A super simple crud package for laravel

Ivan Preziosi 2 Feb 27, 2022
This package provides an artisan command to generate a basic crud with Restful API support

NHRROB Crud Generator Package This package provides an artisan command to generate a basic crud composer install command: composer require nhrrob/crud

Nazmul Hasan Robin 22 Jun 24, 2022
: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 533 Jan 3, 2023
Laravel and Vue js CRUD

Laravel and Vue js PhoneBook app In this project I have done a simple CRUD using Laravel and Vue Js. Here I have used : Vue router Sweetalert2 Resourc

AR Shahin 4 Jun 11, 2022
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 28 Oct 12, 2022
A Laravel admin panel which is creating CRUD for your application automatically.

Adds a zero configuration Admin Panel to your Laravel Application Installation You can install the package via composer: composer require max-hutschen

42coders 10 Aug 24, 2022
Berikut Adalah cara untuk melakukan CRUD di FrameWork Laravel, Silahkan Disimak

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

LilKhoo 1 Oct 23, 2021
How to Create Laravel 8 Vue JS CRUD Example

About Project How to Create Laravel 8 Vue JS CRUD, how to implement vue js crud example with Laravel 8. how to Create a crude API in Laravel 8, for ex

Fadi Mathlouthi 1 Oct 22, 2021