https://github.com/laraflow/crud
API CRUD Generator
https://github.com/laraflow/crud
api api-resources crud crud-generator generators inertiajs laravel stub vuejs
Last synced: 4 months ago
JSON representation
API CRUD Generator
- Host: GitHub
- URL: https://github.com/laraflow/crud
- Owner: laraflow
- License: mit
- Created: 2024-06-05T11:21:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-12T20:49:04.000Z (5 months ago)
- Last Synced: 2025-05-19T13:14:17.125Z (5 months ago)
- Topics: api, api-resources, crud, crud-generator, generators, inertiajs, laravel, stub, vuejs
- Language: PHP
- Homepage:
- Size: 194 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Laraflow CRUD
[](https://packagist.org/packages/laraflow/crud)
[](https://github.com/laraflow/crud/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/laraflow/crud/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
[](https://packagist.org/packages/laraflow/crud)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:
```bash
composer require laraflow/crud
```or only on the Development Environment
```bash
composer require --dev laraflow/crud
```After that run this command to configure project.
```bash
php artisan laraflow:install
```## Usage
To create a complete API CRUD stub file use this command
```bash
php artisan make:crud ResourceName
```If you want to add fields to migration and request validation then
```bash
php artisan make:crud ResourceName --fields=name,email,phone,image
```Optionally, If you want to create an inside subdirectory.
```bash
php artisan make:crud Directory1/Directorry2/ResourceName
```Note: Root Namespace will be added from the configuration.
## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [Mohammad Hafijul Islam](https://github.com/hafijul233)
- [All Contributors](../../contributors)## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.