PHPackages                             thedoctor0/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. thedoctor0/laravel-stubs

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

thedoctor0/laravel-stubs
========================

Opinionated versions of the Laravel stubs for Artisan make commands

1.0.0(5y ago)27MITPHPPHP ^7.4CI passing

Since Jun 25Pushed 5y ago1 watchersCompare

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

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

Laravel Stubs
=============

[](#laravel-stubs)

[![Build Status](https://camo.githubusercontent.com/78ccc173b25967063f4ed1904d57665922a816104377c1199a1269a322d8c044/68747470733a2f2f7472617669732d63692e6f72672f546865446f63746f72302f6c61726176656c2d73747562732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/TheDoctor0/laravel-stubs)[![Packagist](https://camo.githubusercontent.com/24277ea11f29fb93c18226e81b4816b95a602fa5d0b60f128eaaec25144a5fff/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f546865446f63746f72302f6c61726176656c2d73747562732e737667)](https://packagist.org/packages/TheDoctor0/laravel-stubs)[![Packagist](https://camo.githubusercontent.com/5615874fd8adcd75afbc3d46e0c16dabc54371a532de3719d0b2678abfff9a18/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f546865446f63746f72302f6c61726176656c2d73747562732e737667)](https://packagist.org/packages/TheDoctor0/laravel-stubs)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/TheDoctor0/laravel-stubs/blob/master/LICENSE.md)

This package contains opinionated versions of the Laravel 7.x (and later) stubs for Artisan make commands.

Changes
-------

[](#changes)

- `strict_types` are declared by default
- return type hints are present where possible
- missing parameter type hints have been added
- all classes are `final`
- migrations don't have a `down` function
- form requests don't have `authorize` function

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

[](#installation)

You can install the package via composer:

```
composer require thedoctor0/laravel-stubs --dev
```

If you want to keep stubs up to date, add this hook to your composer.json file:

```
"scripts": {
    "post-update-cmd": [
        "@php artisan stubs:publish --force"
    ]
}
```

Usage
-----

[](#usage)

You can publish the stubs using this command:

```
php artisan stubs:publish
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Freek Van der Herten](https://github.com/freekmurze)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 84.6% 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

2148d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/14997caa81adf54d353e39315f219fc183fed761ade57a285f11acdf678bd651?d=identicon)[TheDoctor0](/maintainers/TheDoctor0)

---

Top Contributors

[![TheDoctor0](https://avatars.githubusercontent.com/u/16612504?v=4)](https://github.com/TheDoctor0 "TheDoctor0 (11 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (2 commits)")

---

Tags

laravelstubsartisanlaravel-stubsthedoctor0

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[bpocallaghan/generators

Custom Laravel File Generators with config and publishable stubs.

11965.8k3](/packages/bpocallaghan-generators)

PHPackages © 2026

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