purrdigital/laravel-crud-package

Opinionated Repository CRUD Generator

v1.0.2 2023-06-17 08:42 UTC

This package is auto-updated.

Last update: 2024-04-17 10:21:48 UTC


README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package will create a full crud suite for you. This is based on an opinionated repository pattern. This package uses vue/inertia for the front end so this package won't work with any other front-end unless of course you manually update the controllers to work with your front end.

Installation

You can install the package via composer:

composer require PurrDigital/laravel-crud-package

Usage

In the terminal and using php artisan you can run the following command
php artisan generate:crud Test

Using the above command will generate the following,

  1. Controller
  2. Model
  3. Seeder
  4. Policy
  5. Request
  6. Resource
  7. Interface
  8. Repository
  9. Update repository provider(if it exists)

Changelog

Please see CHANGELOG for more information on what has changed recently.

License

The MIT License (MIT). Please see License File for more information.