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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-simplify-crud

Laravel Simplify CRUD

Latest Version on Packagist Total Downloads PHP Version Laravel

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


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

PHP Build Version
Package Version
Requires php Version ^8.2
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
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package amirulislam/laravel-simplify-crud contains the following files

Loading the files please wait ...