PHPackages                             socheatsok78/laravel-psalm-helper - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. socheatsok78/laravel-psalm-helper

ActiveMetapackage[Testing &amp; Quality](/categories/testing)

socheatsok78/laravel-psalm-helper
=================================

Laravel Psalm Helper

v1.0.1(6y ago)118[1 PRs](https://github.com/socheatsok78/laravel-psalm-helper/pulls)MITPHP ^7.2

Since Dec 13Pushed 5y agoCompare

[ Source](https://github.com/socheatsok78/laravel-psalm-helper)[ Packagist](https://packagist.org/packages/socheatsok78/laravel-psalm-helper)[ RSS](/packages/socheatsok78-laravel-psalm-helper/feed)WikiDiscussions master Synced yesterday

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

Laravel Psalm Helper
====================

[](#laravel-psalm-helper)

A zero-config installer for Psalm (a static analysis tool that’s designed to improve large PHP codebases by identifying both obvious and hard-to-spot bugs)

[![Required: PHP7.2](https://camo.githubusercontent.com/6cbb18d3b4aa18b177d0d8ffc8f098bcb7e102b264ee41af53a9a53467b2e471/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736f6368656174736f6b37382f6c61726176656c2d7073616c6d2d68656c706572)](https://packagist.org/packages/socheatsok78/laravel-psalm-helper) [![packagis](https://camo.githubusercontent.com/98aaf3f9ed2ef3428a1ad27b8b2e9839d632f0c6877d38b63eca94f8f650a949/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736f6368656174736f6b37382f6c61726176656c2d7073616c6d2d68656c706572)](https://packagist.org/packages/socheatsok78/laravel-psalm-helper) [![packagis-download](https://camo.githubusercontent.com/26eee4b20d34233e5f550274f2927b6a8baa21f3ed3734acd1cfc370a7a220ad/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f736f6368656174736f6b37382f6c61726176656c2d7073616c6d2d68656c706572)](https://packagist.org/packages/socheatsok78/laravel-psalm-helper) [![License](https://camo.githubusercontent.com/64b36d909791b40cf84f78cd2744a279322fb65ff7e156889cb06cd754188036/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736f6368656174736f6b37382f6c61726176656c2d7073616c6d2d68656c706572)](./LICENSE)

Installaion
-----------

[](#installaion)

```
composer require --dev socheatsok78/laravel-psalm-helper
```

Add the following script to `composer.json`:

```
"scripts": {
    "psalm": [
        "vendor/bin/psalm --show-info=false"
    ],
    "psalm:info": [
        "vendor/bin/psalm --show-info=true"
    ],
    "psalm:dry-run": [
        "vendor/bin/psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType --dry-run"
    ],
    "psalm:alter": [
        "vendor/bin/psalm --alter --issues=InvalidReturnType,InvalidNullableReturnType"
    ]
}
```

Then later you can just run `composer run psalm`

### Usage

[](#usage)

Add a `psalm.xml` config:

```
./vendor/bin/psalm --init [source_directory=src] [config_level=3]
```

where `config_level` represents how strict you want Psalm to be. `1` is the strictest, `8` is the most lenient.

Example:

```
$ ./vendor/bin/psalm --init
Config file created successfully. Please re-run psalm.

$ ./vendor/bin/psalm-plugin enable psalm/plugin-laravel
[OK] Plugin enabled
```

Then run Psalm:

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

See more at [Psalm Documentation](https://psalm.dev/docs/)

What's inside?
--------------

[](#whats-inside)

This package will only install the following dependencies:

- [vimeo/psalm](https://github.com/vimeo/psalm)
- [psalm/laravel-psalm-plugin](https://github.com/psalm/laravel-psalm-plugin)

📝 License
---------

[](#memo-license)

Licensed under the [MIT License](./LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity54

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

Every ~12 days

Total

2

Last Release

2330d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6f294614f49c98b77a879110c64f4e72df9095dbf1549d0c7eae8b913aead33?d=identicon)[socheatsok78](/maintainers/socheatsok78)

---

Top Contributors

[![socheatsok78](https://avatars.githubusercontent.com/u/4363857?v=4)](https://github.com/socheatsok78 "socheatsok78 (17 commits)")

---

Tags

laravellaravel-helperslaravel-psalm-helpermetapackagephp-codebasespsalmpsalm-pluginspot-bugsstatic-analysislaravelstatic analysispsalm

### Embed Badge

![Health badge](/badges/socheatsok78-laravel-psalm-helper/health.svg)

```
[![Health](https://phpackages.com/badges/socheatsok78-laravel-psalm-helper/health.svg)](https://phpackages.com/packages/socheatsok78-laravel-psalm-helper)
```

###  Alternatives

[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[calebdw/larastan

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

1484.6k3](/packages/calebdw-larastan)

PHPackages © 2026

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