laraflow / crud
Laraflow CRUD stub files generator and utility functions.
Requires
- php: ^8.1
- illuminate/contracts: ^10.0|^11.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
Suggests
- rakutentech/laravel-request-docs: For Live Docs & OpenAPI 3 export Generation
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require laraflow/crud
After that run this command to configure project.
php artisan laraflow:install
Usage
To create a complete API CRUD stub file use this command
php artisan make:crud ResourceName
If you want to add fields to migration and request validation then
php artisan make:crud ResourceName --fields=name,email,phone,image
Optionally, If you want to create an inside subdirectory.
php artisan make:crud Directory1/Directorry2/ResourceName
Note: Root Namespace will be added from the configuration.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.