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

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

maldicore/laravel-stubs
=======================

Opinionated Laravel stubs

024PHP

Since Jan 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Maldicore/laravel-stubs)[ Packagist](https://packagist.org/packages/maldicore/laravel-stubs)[ RSS](/packages/maldicore-laravel-stubs/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

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

[](#opinionated-laravel-stubs)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc2cec7e9c139ef17e0be7487fc1fdced7eaae5d5c95cf03c0c4e85339ae21c8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616c6469636f72652f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maldicore/laravel-stubs)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d718f5acb69c8609e7b8d7394f8f35cb63e019bf3e1d89f98da8ff87b298882e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d616c6469636f72652f6c61726176656c2d73747562732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/maldicore/laravel-stubs/actions?query=workflow%3Arun-tests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/3321905d4e863b4f5c9268f2a32c1625936128795d4911ad51690c24def50db0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616c6469636f72652f6c61726176656c2d73747562732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/maldicore/laravel-stubs)

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

- use return type hints where possible
- most docblocks have been removed
- migration are returning class instead of creating class
- Form Request are authorise by default

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

[](#installation)

You can install the package via composer:

```
composer require maldicore/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 maldicore-stub:publish --force"
    ]
}
```

Usage
-----

[](#usage)

You can publish the stubs using this command:

```
php artisan maldicore-stub: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)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [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. "# laravel-stubs"

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/01041e64073c45ee4b5b4985569294ea00eb74bcf61f5342350694848479db03?d=identicon)[maldicore](/maintainers/maldicore)

---

Top Contributors

[![yusuf](https://avatars.githubusercontent.com/u/90121?v=4)](https://github.com/yusuf "yusuf (1 commits)")

### Embed Badge

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

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

###  Alternatives

[dzentota/chrome-dev-tools

This is a PHP lib that allows one to interact with Google Chrome using Chrome DevTools Protocol within a PHP script. Highly inspired by marty90/PyChromeDevTools

126.5k](/packages/dzentota-chrome-dev-tools)

PHPackages © 2026

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