purrdigital / laravel-crud-package
Opinionated Repository CRUD Generator
Fund package maintenance!
Purr-Digital
Requires
- php: ^8.0
- illuminate/contracts: ^7.0|^8.0|^9.0|^10.0
- laravel/helpers: ^1.5
- spatie/laravel-package-tools: ^1.9.2
Requires (Dev)
- nunomaduro/collision: ^5.10
- orchestra/testbench: ^6.22
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
This package is auto-updated.
Last update: 2024-12-17 11:57:26 UTC
README
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,
- Controller
- Model
- Seeder
- Policy
- Request
- Resource
- Interface
- Repository
- 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.