laravel-api-crud-generator maintained by noamanahmed
Description
This is my package laravel-api-crud-generator
Author
Last update
2026/03/30 16:59
(dev-dependabot/composer/spatie/laravel-query-builder-tw-7.1)
License
Downloads
7
This is my package laravel-api-crud-generator
Compatibility Matrix
Laravel Version | Package Version | Status 8.x | 1.x | Supported 9.x | 1.x | Supported 10.x | 1.x | Supported 11.x (beta) | 1.x | In Development
Installation
You can install the package via composer:
composer require noamanahmed/laravel-api-crud-generator
You can publish the config and provider file with this command:
php artisan vendor:publish --tag="api-crud-generator-provider"
php artisan vendor:publish --tag="api-crud-generator-stubs"
php artisan api-crud-generator:init
Usage
php artisan api-crud-generator:create Post
php artisan api-crud-generator:create Comment
php artisan api-crud-generator:delete Comment
Modify your routes files
use App\Http\Controllers\PostController;
Route::apiCrudResource('posts', PostController::class);
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.