somisa/crud-generator
Larablocks Analysis
somisa/crud-generator works with Laravel 8 to 13 (latest release v4.2.3, Oct 15, 2026).
Laravel 5, 6 and 7 in earlier releases.
Recommendation checks
Solid choiceSolid choice: maintained and up to date, meets 2 of 4 checks; below the bar for Recommended on use.
- Works with Laravel 13, the current version
- Released in the last 12 months (Oct 15, 2026)
- 1,070 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Actively maintained- Last stable release: Oct 15, 2026.
- 5 releases in the last 12 months.
- First released: Aug 24, 2015.
- Monthly downloads: 1,070.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 3, 2026.
| Install | |
|---|---|
composer require somisa/crud-generator |
|
| Latest Version: | v4.2.3 |
| PHP: | ^8.0 |
| Laravel: | 8 – 13 |
| Older releases: | 5 · 6 · 7 |
| License: | MIT |
| Last Updated: | Oct 15, 2026 |
| Links: | GitHub · Packagist |
Laravel CRUD Generator
Generate the boring parts of a Laravel application from one Artisan command: the controller, model, migration, views, language file and API of a resource, or each of them on its own.
This is a fork of sohelamin/crud-generator, kept for Laravel 13 and for fixes to the generated migrations. It installs as
somisa/crud-generatorand replacesappzcoder/crud-generator, so the commands, the config file and theAppzcoder\CrudGeneratornamespace are the same as in the original.
Requirements
- PHP 8.0 or newer
- Laravel 8, 9, 10, 11, 12 or 13
Installation
composer require somisa/crud-generator --dev
If the project already requires appzcoder/crud-generator, remove that line first. The fork replaces it, and the two cannot be
installed side by side.
Quick start
Generate a whole resource (controller, model, views, migration and routes) for Posts:
php artisan crud:generate Posts --fields='title#string; content#text'
php artisan migrate
The generated views use the <x-app-layout> component and Tailwind classes, as in a Laravel Breeze project (Breeze is suggested, not required: only the views need that layout; crud:model and crud:migration do not). Without Breeze, copy the stubs with php artisan vendor:publish --provider="Appzcoder\CrudGenerator\CrudGeneratorServiceProvider"
(they land in resources/crud-generator/), set custom_template to true in config/crudgenerator.php, and change the layout there.
Describe the columns with --fields: name#type, separated by semicolons. Options such as a view path, a controller namespace
or a route group are listed in the documentation.
Commands
| Command | What it makes |
|---|---|
crud:generate |
the whole resource: controller, model, views, migration, routes |
crud:api |
the same for an API: controller, model, migration |
crud:controller |
a resource controller |
crud:api-controller |
an API controller |
crud:model |
a model |
crud:migration |
a migration |
crud:view |
the views |
crud:lang |
a language file |
Run php artisan help crud:generate (or any command above) to see every option.
Documentation
- The original guide, which applies to this fork: sohelamin/crud-generator, doc/.
- What this fork changes, and a basic run:
docs/README.md.
License
MIT, see LICENSE. The original work is by Sohel Amin; this fork adds changes by András Somos.
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v4.2.3 | ^8.0 | ^8.0| | MIT | |
| v4.2.2 | ^8.0 | ^8.0| | MIT | |
| v4.2.1 | ^8.0 | ^8.0| | MIT | |
| v4.2.0 | ^8.0 | ^8.0| | MIT | |
| v4.1.0 | ^8.0 | ^8.0| | MIT | |
| v4.0.0 | ^8.0 | ^8.0| | MIT | |
| v3.3.1 | >=5.6.4| | ^5.3| | MIT | |
| v3.3.0 | >=5.6.4| | ^5.3| | MIT | |
| v3.2.2 | >=5.6.4| | ^5.3| | MIT | |
| v3.2.1 | >=5.6.4| | ^5.3| | MIT | |
| v3.2.0 | >=5.6.4| | ^5.3| | MIT | |
| v3.1.0 | >=5.6.4| | ^5.3| | MIT | |
| v3.0.8 | >=5.6.4 | ^5.3 | MIT | |
| v3.0.7 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.6 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.5 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.4 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.3 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.2 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.1 | >=5.5.9 | ^5.1 | MIT | |
| v3.0.0 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.8 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.7 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.6 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.5 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.4 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.3 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.2 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.1 | >=5.5.9 | ^5.1 | MIT | |
| v2.0.0 | >=5.5.9 | ^5.1 | MIT |
Showing the latest 30 of 42. See every release on Packagist
Pre-releases (1)
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v3.0-beta | >=5.5.9 | ^5.1 | MIT |