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

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

depsimon/laravel-stubs
======================

Opinionated Laravel stubs

2.0.2(5y ago)14MITPHPPHP ^7.4

Since Mar 24Pushed 5y agoCompare

[ Source](https://github.com/depsimon/laravel-stubs)[ Packagist](https://packagist.org/packages/depsimon/laravel-stubs)[ Docs](https://github.com/depsimon/laravel-stubs)[ Fund](https://spatie.be/open-source/support-us)[ RSS](/packages/depsimon-laravel-stubs/feed)WikiDiscussions master Synced today

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

Opinionated Laravel stubs
=========================

[](#opinionated-laravel-stubs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e0acce62ff83a81d811af6798e2235bebceb6df46456c55cae658e94ede644c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64657073696d6f6e2f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/depsimon/laravel-stubs)[![GitHub Tests Action Status](https://camo.githubusercontent.com/c7371a60a184e5eb2e6afd3b3b05601614197c9e7b9ea11d0cfe5bc5d4622b54/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f64657073696d6f6e2f6c61726176656c2d73747562732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/depsimon/laravel-stubs/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/769de7dfb146f45f214f6c931d9c5d3e53e046261c549a673e9222cff6a09538/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64657073696d6f6e2f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/depsimon/laravel-stubs)

This repo contains opinionated versions of the Laravel stubs. The most notable changes are:

- migrations don't have a `down` function
- controllers don't extend a base controller
- none of the model attributes are guarded
- use return type hints where possible
- most docblocks have been removed

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

[](#installation)

You can install the package via composer:

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

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

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

Usage
-----

[](#usage)

You can publish the stubs using this command:

```
php artisan depsimon-stubs:publish
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Simon Depelchin](https://github.com/depsimon)
- [Freek Van der Herten](https://github.com/freekmurze)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 70.7% 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 ~20 days

Recently: every ~46 days

Total

10

Last Release

2054d ago

Major Versions

0.0.1 → 1.0.02020-03-24

1.1.1 → 2.0.02020-09-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/376c58dc4d5f1208a8424fb24a2e74f65d2ae7bf2679e8601f21fffb11064897?d=identicon)[depsimon](/maintainers/depsimon)

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (29 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (2 commits)")[![depsimon](https://avatars.githubusercontent.com/u/1822289?v=4)](https://github.com/depsimon "depsimon (2 commits)")[![osbre](https://avatars.githubusercontent.com/u/23292709?v=4)](https://github.com/osbre "osbre (1 commits)")[![pkboom](https://avatars.githubusercontent.com/u/13960169?v=4)](https://github.com/pkboom "pkboom (1 commits)")[![richardkeep](https://avatars.githubusercontent.com/u/3874381?v=4)](https://github.com/richardkeep "richardkeep (1 commits)")[![rubenvanassche](https://avatars.githubusercontent.com/u/619804?v=4)](https://github.com/rubenvanassche "rubenvanassche (1 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (1 commits)")[![SamuelNitsche](https://avatars.githubusercontent.com/u/24483576?v=4)](https://github.com/SamuelNitsche "SamuelNitsche (1 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (1 commits)")[![fridzema](https://avatars.githubusercontent.com/u/8180660?v=4)](https://github.com/fridzema "fridzema (1 commits)")

---

Tags

laravel-stubsdepsimongitscape

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[spatie/laravel-stubs

Opinionated Laravel stubs

252616.9k3](/packages/spatie-laravel-stubs)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[depsimon/laravel-wallet

Easy to use virtual wallet for your app

9521.6k1](/packages/depsimon-laravel-wallet)

PHPackages © 2026

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