Download the PHP package mrmarchone/laravel-auto-crud without Composer
On this page you can find all versions of the php package mrmarchone/laravel-auto-crud. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mrmarchone/laravel-auto-crud
More information about mrmarchone/laravel-auto-crud
Files in mrmarchone/laravel-auto-crud
Package laravel-auto-crud
Short Description Laravel Auto CRUD helps you streamline development and save time.
License MIT
Informations about the package laravel-auto-crud
Laravel Auto CRUD Generator
Laravel Auto CRUD Generator is a package that simplifies CRUD (Create, Read, Update, Delete) operations for your Laravel application. With a single command, you can generate all necessary files and logic for a selected model, reducing development time and effort.
Features
- Automatically detects models in the app/Models folder.
- Provides an interactive CLI to select a model.
- Generates controller, request validation, routes, views, and more.
- Follows Laravel's best practices for clean and maintainable code.
Installation
You can install the package via Composer:
Publish Configuration
You can publish the configuration file via:
Usage
To generate CRUD operations for a model, use the following Artisan command:
⚠️ Warning
Take care when you create a models outside app directory, because command will generate the folder structure in all folders like Controllers, Resources, Requests, etc.
Example (Models Path) => AnotherModels/Models , this will generate files like this one app/Http/Controllers/AnotherModels/Models/ModelController.php
Example:
This will generate:
-
API Controller:
-
API Controller with Spatie Data (if applicable):
-
API Controller with Service (if applicable):
-
Web Controller:
-
Web Controller with Spatie Data (if applicable):
-
Web Controller with Service (if applicable):
-
Request:
-
Resource:
-
API Routes:
-
Web Routes:
-
Views (if applicable):
- CURL (if applicable):
- You will find it in the laravel-auto-crud folder under the name curl.txt.
-
Postman Collection (if applicable):
- You will find it in the laravel-auto-crud folder under the name postman.json.
-
Repository (if applicable):
-
Service (if applicable):
-
Spatie Data (if applicable):
- Enum (if applicable):
Requirements
- Laravel 10+
- PHP 8.1+
- Laravel Data Spatie *
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
This package is open-source and available under the MIT License.
All versions of laravel-auto-crud with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
laravel/prompts Version *
spatie/laravel-data Version *