PHPackages                             brokeyourbike/plugin-laravel - 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. brokeyourbike/plugin-laravel

AbandonedArchivedPsalm-plugin[Utility &amp; Helpers](/categories/utility)

brokeyourbike/plugin-laravel
============================

A Laravel 8 plugin for Psalm. PHP 8 only.

v2.0.0(4y ago)22.7kMITPHPPHP ^8

Since Feb 18Pushed 4y agoCompare

[ Source](https://github.com/brokeyourbike/psalm-plugin-laravel)[ Packagist](https://packagist.org/packages/brokeyourbike/plugin-laravel)[ RSS](/packages/brokeyourbike-plugin-laravel/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (14)Versions (31)Used By (0)

Psalm plugin for Laravel
========================

[](#psalm-plugin-for-laravel)

[![Packagist](https://camo.githubusercontent.com/4c272fbe98731c054b8793498067b1eb8e914cd1aafe20765db12abaf2c14fbc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62726f6b65796f757262696b652f706c7567696e2d6c61726176656c2e737667)](https://packagist.org/packages/brokeyourbike/plugin-laravel)[![Packagist](https://camo.githubusercontent.com/fa3da24c1a310e34ee8579f9bb5cfaf9e9714a183c3de07199250ae40f2ad695/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62726f6b65796f757262696b652f706c7567696e2d6c61726176656c2e737667)](https://packagist.org/packages/brokeyourbike/plugin-laravel)[![Type coverage](https://camo.githubusercontent.com/a2781e41a12c460c84fb83c0f6c259cd0f0d0837858d58816adfa78386da7a65/68747470733a2f2f73686570686572642e6465762f6769746875622f62726f6b65796f757262696b652f7073616c6d2d706c7567696e2d6c61726176656c2f636f7665726167652e737667)](https://camo.githubusercontent.com/a2781e41a12c460c84fb83c0f6c259cd0f0d0837858d58816adfa78386da7a65/68747470733a2f2f73686570686572642e6465762f6769746875622f62726f6b65796f757262696b652f7073616c6d2d706c7567696e2d6c61726176656c2f636f7665726167652e737667)[![Tests](https://camo.githubusercontent.com/369feff5201922f0bd41b92170e30ed47253e345d5b76748128f47f3c36fbadc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f62726f6b65796f757262696b652f7073616c6d2d706c7567696e2d6c61726176656c2f52756e25323054657374733f6c6162656c3d7465737473)](https://camo.githubusercontent.com/369feff5201922f0bd41b92170e30ed47253e345d5b76748128f47f3c36fbadc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f62726f6b65796f757262696b652f7073616c6d2d706c7567696e2d6c61726176656c2f52756e25323054657374733f6c6162656c3d7465737473)

Overview
--------

[](#overview)

This package brings static analysis and type support to projects using Laravel 8. Our goal is to find as many type-related bugs as possible, therefore increasing developer productivity and application health. Find bugs without the overhead of writing tests!

[![Screenshot](/assets/screenshot.png)](/assets/screenshot.png)

Quickstart
----------

[](#quickstart)

Please refer to the [full Psalm documentation](https://psalm.dev/quickstart) for a more detailed guide on introducing Psalm into your project.

First, start by installing Psalm if you have not done so already:

```
composer require --dev vimeo/psalm
./vendor/bin/psalm --init
```

Next, install this package and enable the plugin

```
composer require --dev brokeyourbike/plugin-laravel
./vendor/bin/psalm-plugin enable brokeyourbike/plugin-laravel
```

Finally, run Psalm to analyze your codebase

```
./vendor/bin/psalm
```

How it works
------------

[](#how-it-works)

Under the hood it just runs  and feeds the resultant stubs into Psalm, which can read PhpStorm meta stubs.

It also parses any database migrations it can find to try to understand property types in your database models.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 59.5% 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 ~29 days

Recently: every ~18 days

Total

30

Last Release

1778d ago

Major Versions

0.7 → 1.0.12019-11-29

v1.4.7 → v2.0.02021-06-29

PHP version history (4 changes)1.2.0PHP ^7.1.3|^8

v1.3.0PHP ^7.2|^8

v1.4.1PHP ^7.3|^8

v2.0.0PHP ^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/114f3c6e8506e0bba763451e8e4bcc3e94d662c2dce982a910b5d7b3444593cf?d=identicon)[brokeyourbike](/maintainers/brokeyourbike)

---

Top Contributors

[![mr-feek](https://avatars.githubusercontent.com/u/5747667?v=4)](https://github.com/mr-feek "mr-feek (194 commits)")[![muglug](https://avatars.githubusercontent.com/u/2292638?v=4)](https://github.com/muglug "muglug (85 commits)")[![brokeyourbike](https://avatars.githubusercontent.com/u/1554371?v=4)](https://github.com/brokeyourbike "brokeyourbike (21 commits)")[![pthiers](https://avatars.githubusercontent.com/u/1180952?v=4)](https://github.com/pthiers "pthiers (3 commits)")[![caugner](https://avatars.githubusercontent.com/u/495429?v=4)](https://github.com/caugner "caugner (3 commits)")[![yaegassy](https://avatars.githubusercontent.com/u/188642?v=4)](https://github.com/yaegassy "yaegassy (2 commits)")[![eithed](https://avatars.githubusercontent.com/u/795678?v=4)](https://github.com/eithed "eithed (2 commits)")[![hendrikheil](https://avatars.githubusercontent.com/u/19904485?v=4)](https://github.com/hendrikheil "hendrikheil (2 commits)")[![masterfermin02](https://avatars.githubusercontent.com/u/4625540?v=4)](https://github.com/masterfermin02 "masterfermin02 (2 commits)")[![netcode](https://avatars.githubusercontent.com/u/286371?v=4)](https://github.com/netcode "netcode (2 commits)")[![SiebeVE](https://avatars.githubusercontent.com/u/14889418?v=4)](https://github.com/SiebeVE "SiebeVE (2 commits)")[![asbiin](https://avatars.githubusercontent.com/u/25419741?v=4)](https://github.com/asbiin "asbiin (2 commits)")[![brendt](https://avatars.githubusercontent.com/u/6905297?v=4)](https://github.com/brendt "brendt (1 commits)")[![wgriffioen](https://avatars.githubusercontent.com/u/53269?v=4)](https://github.com/wgriffioen "wgriffioen (1 commits)")[![TheDoctor0](https://avatars.githubusercontent.com/u/16612504?v=4)](https://github.com/TheDoctor0 "TheDoctor0 (1 commits)")[![chatii](https://avatars.githubusercontent.com/u/1707999?v=4)](https://github.com/chatii "chatii (1 commits)")[![twistor](https://avatars.githubusercontent.com/u/42400?v=4)](https://github.com/twistor "twistor (1 commits)")[![pro2s](https://avatars.githubusercontent.com/u/3265359?v=4)](https://github.com/pro2s "pro2s (1 commits)")

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/brokeyourbike-plugin-laravel/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)

PHPackages © 2026

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