qasim404/unified-maker

A Laravel package to generate multiple files from one artisan command

Maintainers

Package info

github.com/qasimafzal404/unified-maker

pkg:composer/qasim404/unified-maker

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-02-26 18:03 UTC

This package is auto-updated.

Last update: 2026-04-26 18:31:32 UTC


README

A powerful Laravel Artisan command to generate multiple architectural layers (Models, Controllers, Services, DTOs, Repositories, etc.) in a single step.

Latest Stable Version Total Downloads License

📦 Installation

You can install the package via composer:

composer require qasim404/unified-maker

The package will automatically register itself using Laravel's package discovery.

🚀 Usage

Generate everything you need for a new feature with one command:

php artisan make:unified User -c -m -d -s -r -i -g -t -R

Supported Options:

Shortcut Long Option Description
-c --controller Generate a Controller
-m --model Generate a Model
-d --dto Generate a Data Transfer Object (DTO)
-s --service Generate a Service Class
-r --repository Generate a Repository Class
-i --interface Generate an Interface
-g --migration Generate a Database Migration
-t --trait Generate a Trait
-R --request Generate a Form Request

Custom Paths

You can also specify custom directories for your files:

php artisan make:unified User -s --service-path="Core/Logic"

Creates: app/Core/Logic/UserService.php

📄 License

The MIT License (MIT). Please see License File for more information.

👨‍💻 Credits