PHPackages                             mrkatz/laravel-stubs - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. mrkatz/laravel-stubs

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mrkatz/laravel-stubs
====================

Laravel Stubs Editor &amp; Generator

0.1(6y ago)04MITPHPCI failing

Since Oct 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mrkatz/laravel-stubs)[ Packagist](https://packagist.org/packages/mrkatz/laravel-stubs)[ Docs](https://github.com/mrkatz/laravel-stubs)[ RSS](/packages/mrkatz-laravel-stubs/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Customize laravel make command
==============================

[](#customize-laravel-make-command)

[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/45ff51d7cb79e45fecaa04aa6c1ec897f5e7063c5ee44e49a1f58ce18d6c7180/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d726b61747a2f6c61726176656c2d73747562732e7376673f6d61784167653d30)](https://packagist.org/packages/mrkatz/laravel-stubs)[![Packagist Version](https://camo.githubusercontent.com/45ff51d7cb79e45fecaa04aa6c1ec897f5e7063c5ee44e49a1f58ce18d6c7180/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d726b61747a2f6c61726176656c2d73747562732e7376673f6d61784167653d30)](https://packagist.org/packages/mrkatz/laravel-stubs)[![Packagist Stats](https://camo.githubusercontent.com/727c9bbc8d599420179095ed2fe08351db82d7a04af14a0b1e554ea7512eeed9/68747470733a2f2f706f7365722e707567782e6f72672f6d726b61747a2f6c61726176656c2d73747562732f646f776e6c6f616473)](https://packagist.org/packages/mrkatz/laravel-stubs/stats)

The package allows customization of the Artisan commands like `artisan make:model`, `artisan make:controller` and other, just as you need.

Any location of the generated classes and with any content.

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

[](#installation)

You can get library through [composer](https://getcomposer.org/)

```
composer require mrkatz/laravel-stubs

```

To publish the config file to `config/stubs.php` run:

```
php artisan vendor:publish --provider="Mrkatz\LaravelStubs\Providers\ConsoleSupportServiceProvider"

```

Done!

Usage
-----

[](#usage)

### Configure paths for generated classes

[](#configure-paths-for-generated-classes)

To change the paths of saving the generated classes, you need to configure their namespaces in a configuration file `config/stubs.php`.

### Modular development.

[](#modular-development)

If you have a large project, you may want to divide it into modules as subdirectories in the "app" directory.

To make classes inside the module you are developing, you can specify the name of the module in the `STUBS_MODULE` environment variable.

### Publish stub files for edit

[](#publish-stub-files-for-edit)

```
php artisan stubs:publish

```

The files will be placed in the directory `resources/stubs` (or other directory if you change it in the configuration file).

Now you can edit any of the stubs and enjoy your customized commands like `artisan make:model`,` artisan make:controller` and others.

License
-------

[](#license)

[MIT](LICENSE)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2406d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a3d3c1e3e518d9d21d6cc1bf1bb51e00e176d682cf4ed1c19c362bf6190173c?d=identicon)[mrkatz](/maintainers/mrkatz)

---

Top Contributors

[![mrkatz](https://avatars.githubusercontent.com/u/12110409?v=4)](https://github.com/mrkatz "mrkatz (11 commits)")

---

Tags

laravelstubsgenerator

### Embed Badge

![Health badge](/badges/mrkatz-laravel-stubs/health.svg)

```
[![Health](https://phpackages.com/badges/mrkatz-laravel-stubs/health.svg)](https://phpackages.com/packages/mrkatz-laravel-stubs)
```

###  Alternatives

[lara-zeus/accordion

Zeus Accordion is filamentphp layout component to group components

11122.8k2](/packages/lara-zeus-accordion)[akira/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

431.4k](/packages/akira-laravel-qrcode)[tomatophp/filament-helpers

Helper Class Generator to manage your forms and table inside your filament app

127.9k](/packages/tomatophp-filament-helpers)

PHPackages © 2026

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