Download the PHP package fadyreda99/laravel-service-repository-maker without Composer
On this page you can find all versions of the php package fadyreda99/laravel-service-repository-maker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fadyreda99/laravel-service-repository-maker
More information about fadyreda99/laravel-service-repository-maker
Files in fadyreda99/laravel-service-repository-maker
Package laravel-service-repository-maker
Short Description Generate Service + Repository + Module with optional model CRUD
License MIT
Informations about the package laravel-service-repository-maker
📦 Laravel Service & Repository Maker
A powerful Laravel package that automatically generates Services, Repositories, and full Modules with optional CRUD scaffolding.
This package helps you apply clean architecture, avoid repeating boilerplate code, and speed up development significantly.
🚀 Features
✔ Generate Service, Repository, or both together as a Module
✔ Auto‑generate CRUD logic when passing a model
✔ Support for namespaced paths (Admin/User, Api/V1/Product, …)
✔ Works with Laravel 8 / 9 / 10 / 11 / 12
✔ Zero configuration — just install and use
✔ Generates clean, organized architecture
Folder structure produced:
📥 Installation
Install via Composer:
Laravel auto‑discovers the provider — no manual setup needed.
🛠 Artisan Commands
The package provides 3 main commands:
1️⃣ Create a Repository
Output:
⭐ Generated Repository (when model is provided)
🧱 Repository generated WITHOUT model
If you run the command without --model:
Generated file:
Perfect when creating a repository with custom logic.
2️⃣ Create a Service
Output:
⭐ Generated Service (when model is provided)
🧱 Service generated WITHOUT model
Produces:
Use it for services that do not depend on a specific model.
3️⃣ Create a Full Module (Service + Repository)
Output:
Both files include fully‑functional CRUD logic.
🧪 Example: Using the Generated Service in a Controller
📌 Namespaced Paths Example
You can generate into nested folders:
Outputs:
📝 Requirements
- PHP 8.0+
- Laravel 8–12
📄 License
This package is open‑source and licensed under the MIT License.
❤️ Contributing
Pull requests are welcome!
Feel free to open issues for improvements and ideas.
All versions of laravel-service-repository-maker with dependencies
illuminate/http Version ^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0
illuminate/support Version ^8.0 || ^9 || ^10 || ^11 || ^12
illuminate/console Version ^8.0 || ^9 || ^10 || ^11 || ^12