Download the PHP package jahid/laravel-easy-crud without Composer
On this page you can find all versions of the php package jahid/laravel-easy-crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jahid/laravel-easy-crud
More information about jahid/laravel-easy-crud
Files in jahid/laravel-easy-crud
Package laravel-easy-crud
Short Description perform laravel crud operation using just a simple command
License MIT
Informations about the package laravel-easy-crud
Easy CRUD 🙂
About Easy CRUD
This package is help you to create a simple CRUD operation. After run the artisan command it create a Model, Controller, Route, Request, Migration files. It also writes code in controller for data Retrieve, Store, View, Update and Delete operation.
You just need to define your column in migration and also define rules for validation in request file.
You have to define blade file as you need (I am working on it, You will get it soon). But you don't need anything for api 🙂
If you find any issue please create an issue, I will try to solve ASAP.
Installation
Issue following command in console:
Alternatively edit composer.json by adding following line and run composer update
Dependency
Laravel >= 8.0
Usage
Run command
php artisan make:easy-crud FeatureName --route='' --request --api
-
FeatureName means your
feature name
. Separate different word by camel case. If you want to create files in a sub folder then write in this formatfolderName/FeatureName
Api/Test
. -
--route
is optional parameter if you want to write the route in another file (not in web.php), then pass the file name using this parameter like--route=routes/api.php
. -
--request
parameter is also optional. If you want to make customRequestClass
then just simply pass--request
. --api
parameter is also optional if you make the feature for API using API purpose then simple pass--api
. It creates controller as api structure.
Support
Please open an issue on GitHub
License
Create CRUD operation for Laravel application under the MIT license.