Download the PHP package amirulislam/laravel-simplify-crud without Composer
On this page you can find all versions of the php package amirulislam/laravel-simplify-crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amirulislam/laravel-simplify-crud
More information about amirulislam/laravel-simplify-crud
Files in amirulislam/laravel-simplify-crud
Package laravel-simplify-crud
Short Description A powerful Laravel CRUD generator — generates Model, Migration, Controller, Request, Routes and Views from a single artisan command.
License MIT
Informations about the package laravel-simplify-crud
Laravel Simplify CRUD
Generate a complete CRUD scaffold from a single artisan command.
One command creates your Model, Migration, Controller, Form Requests, Routes, and Blade Views — all properly named, humanized, and wired together.
What Gets Generated
Running the command above produces:
Then just run:
And visit /product-categories in your browser.
Requirements
- PHP 8.2+
- Laravel 10, 11, or 12
Installation
Laravel auto-discovers the package. No manual registration needed.
Basic Usage
Field Definition Format
Fields are comma-separated. Each field follows this pattern:
Examples
Supported Field Types
| Type | Migration Column | Validation | Input |
|---|---|---|---|
string |
string() |
string\|max:255 |
text |
text |
text() |
string |
textarea |
longtext |
longText() |
string |
textarea |
integer |
integer() |
integer |
number |
bigint |
bigInteger() |
integer |
number |
smallint |
smallInteger() |
integer |
number |
decimal |
decimal(8, 2) |
numeric |
number |
float |
float() |
numeric |
number |
double |
double() |
numeric |
number |
boolean |
boolean() |
boolean |
checkbox |
date |
date() |
date |
date |
datetime |
dateTime() |
date |
datetime-local |
time |
time() |
date_format:H:i |
time |
json |
json() |
array |
textarea |
enum |
enum([...]) |
string\|in:... |
select |
uuid |
uuid() |
uuid |
text |
file |
string() |
file\|max:2048 |
file |
image |
string() |
image\|max:2048 |
file |
Available Options
| Option | Description |
|---|---|
--fields= |
Comma-separated field definitions |
--api |
Generate API controller and routes only — no Blade views |
--soft-deletes |
Add SoftDeletes to model and softDeletes() to migration |
--force |
Overwrite existing files |
Naming — Humanized Automatically
Give the model name in any common format. The package handles the rest.
| Input | Accepted |
|---|---|
ProductCategory |
✓ StudlyCase |
product_category |
✓ snake_case |
productcategory |
✓ lowercase |
Everything is derived correctly:
| Usage | Value |
|---|---|
| Class name | ProductCategory |
| Table name | product_categories |
| Route prefix | product-categories |
| View folder | product-categories |
| Page heading | Product Categories |
| Field labels | Product Category |
| Variable name | $productCategory |
View Themes
Blade views are generated for Tailwind CSS (default) or Bootstrap 5.
Change the theme in config:
Or set it per-environment:
Configuration
Publish the config file to customise paths, namespaces, and defaults:
Customising Stubs
Publish the stubs to your project and edit them freely:
Stubs are placed in stubs/simplify-crud/. The package checks there first before falling back to its own stubs — so you only need to publish the ones you want to change.
Available stubs
Stub placeholders
| Placeholder | Example value |
|---|---|
{{ ModelName }} |
ProductCategory |
{{ modelName }} |
productCategory |
{{ model_name }} |
product_category |
{{ ModelNamePlural }} |
ProductCategories |
{{ model_name_plural }} |
product_categories |
{{ HumanName }} |
Product Category |
{{ HumanNamePlural }} |
Product Categories |
{{ table_name }} |
product_categories |
{{ route_prefix }} |
product-categories |
{{ fillable }} |
'name', 'price' |
{{ migration_fields }} |
$table->string('name'); |
{{ store_validation_rules }} |
'name' => 'required\|string\|max:255' |
Testing
Requires Composer dependencies to be installed first:
Changelog
See CHANGELOG.md for release history.
License
MIT — see LICENSE for details.
Author
Amirul Islam — [email protected]
Built with care as a production-ready Laravel package following SOLID principles.
All versions of laravel-simplify-crud with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/console Version ^10.0|^11.0|^12.0
illuminate/filesystem Version ^10.0|^11.0|^12.0