PHPackages                             erenav/makers - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. erenav/makers

ActiveLibrary

erenav/makers
=============

Custom Laravel make commands

2.2.0(5mo ago)056↓100%MITPHPPHP ^8.2CI failing

Since May 11Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/erenav/makers)[ Packagist](https://packagist.org/packages/erenav/makers)[ Docs](https://github.com/erenav/makers)[ RSS](/packages/erenav-makers/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (9)Versions (11)Used By (0)

Custom Laravel Make Commands
============================

[](#custom-laravel-make-commands)

[![Latest Version on Packagist](https://camo.githubusercontent.com/07a43ae7892f1f58ae9c459bcee9dc5e6b300db3e77a017f5e7866bdcebb046d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6572656e61762f6d616b6572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erenav/makers)[![GitHub Tests Action Status](https://camo.githubusercontent.com/be0f82696c157e1bb0fd05129be25e31142cf64177c8d5be5426201b04b21acc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6572656e61762f6d616b6572732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/erenav/makers/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f849fe9352f183ec066a73f27c2a035439e3e3f8cd8346fe46682236648a85cb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6572656e61762f6d616b6572732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/erenav/makers)

Opinionated custom `artisan make` commands for Laravel applications.

Installation
------------

[](#installation)

Install this package via composer using the following command:

```
composer require erenav/makers --dev
```

Commands
--------

[](#commands)

### Actions

[](#actions)

Action classes simplify application logic by consolidating specific tasks into single classes that can be executed from controllers, jobs, listeners etc. This approach improves code reuse and simplifies maintenance.

```
php artisan make:action {name}
```

### Data Transfer Objects (DTOs)

[](#data-transfer-objects-dtos)

DTOs are used to contain data in a structured way, facilitating data transfer across different layers of an application while keeping the data encapsulated and organized.

```
php artisan make:dto {name}
```

```
php artisan make:dto {name} {--readonly}
```

### Enum

[](#enum)

Enums are useful when representing a fixed set of possible values for a variable. They also improve type safety and readability.

```
php artisan make:enum {name}
```

```
php artisan make:enum {name} {--type=int|string}
```

### Mixin

[](#mixin)

Mixins provide a way to add custom methods to existing classes provided by the framework without modifying the framework's source code.

```
php artisan make:mixin {name}
```

### Pipe

[](#pipe)

Pipes are commonly used for data transformation, validation, or any series of operations that need to be performed in sequence on an object or value.

```
php artisan make:pipe {name}
```

### States

[](#states)

States can represent different statuses or stages of a model, making it easier to handle state transitions and enforce business rules associated with those states.

```
php artisan make:states {base} {states*}
```

```
php artisan make:state {state} {base}
```

### Value Object

[](#value-object)

Value objects encapsulate related properties and behavior for a value into a single, immutable object. This pattern enhances code clarity, enforce validation, and promote a more object-oriented approach to managing complex data types.

```
php artisan make:value-object {name}
```

Note
----

[](#note)

All commands have access to the `--force` option. Including this option allows for the override of existing files.

Customize
---------

[](#customize)

You can publish the stubs with:

```
php artisan makers:publish-stubs
```

Use the `--force` option to override previously published stubs.

You can publish the config file with:

```
php artisan vendor:publish --tag="makers-config"
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Vanere Maynard](https://github.com/vanere)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance70

Regular maintenance activity

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~116 days

Recently: every ~225 days

Total

9

Last Release

171d ago

Major Versions

1.0.5 → 2.02024-06-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/49ad369ef9b2048a4df1684204853a217ce15e661f6aa522bb26ae42e9750b7e?d=identicon)[vanere](/maintainers/vanere)

---

Top Contributors

[![vanere](https://avatars.githubusercontent.com/u/3731011?v=4)](https://github.com/vanere "vanere (20 commits)")

---

Tags

laravelstubscustomizationcommandserenavmakers

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/erenav-makers/health.svg)

```
[![Health](https://phpackages.com/badges/erenav-makers/health.svg)](https://phpackages.com/packages/erenav-makers)
```

###  Alternatives

[bpocallaghan/generators

Custom Laravel File Generators with config and publishable stubs.

11965.8k3](/packages/bpocallaghan-generators)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[andreia/filament-ui-switcher

Add a modal with options to switch between different UI layouts and styles (colors, fonts, font sizes).

233.8k](/packages/andreia-filament-ui-switcher)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
