Psalm plugins

These plugins allow Psalm to work great with popular packages like Laravel, PHPUnit, and Symfony.

Have a look at Psalm’s documentation to find out how to install and use them.

psalm/plugin-phpunit

241,906 41

Psalm plugin for PHPUnit

psalm/plugin-symfony

140,000 99

Psalm Plugin for Symfony

weirdan/doctrine-psalm-plugin

60,988 51

Stubs to let Psalm understand Doctrine better

psalm/plugin-laravel

41,876 124

A Laravel plugin for Psalm

psalm/plugin-mockery

12,332 3

Psalm plugin for Mockery

orklah/psalm-insane-comparison

4,948 14

Detects possible insane comparison ("string" == 0) to help migrate to PHP8

hectorj/safe-php-psalm-plugin

4,221 2

vimeo/psalm plugin for thecodingmachine/safe

lctrs/psalm-psr-container-plugin

2,159 6

Let Psalm understand better psr11 containers

alexeyshockov/guzzle-psalm-plugin

846 1

Guzzle type information for Psalm

dq5studios/psalm-junit

655 1

Add junit report format to psalm

shoot/psalm-plugin

592 1

Provides static analysis for Shoot models and presenters

runtothefather/doctrine-psalm-plugin

489 4

Repository resolver to show psalm how to resolve getRepository method

humanmade/psalm-plugin-wordpress

275 21

WordPress stubs and plugin for Psalm.

someniatko/iter-psalm-plugin

172 0

nikic/iter type information for Psalm

orklah/psalm-strict-types

162 8

Adds strict_types declaration when the file is provably safe

orklah/psalm-strict-visibility

120 5

A Psalm plugin to detect calling private or protected method via proxy

orklah/psalm-strict-numeric-cast

117 1

Restrict the use of (int) and (float) to numeric-string only

fkupper/psalm-laravel-collections

117 5

Stubs to let Psalm understand Laravel Collections better

samlitowitz/psalm-no-double-quoted-strings

77 0

Do not allow double-quoted strings

samlitowitz/psalm-no-variables-in-strings

77 0

Do not allow variables in strings

orklah/psalm-strict-types-empty-class

22 0

Add declaration of strict_types in empty class

matthewbdaly/psalm-plugin-zendframework1

22 1

Psalm plugin for Zend Framework 1

kafkiansky/service-locator-interrupter

21 3

Psalm plugin for Laravel that interrupt service locator calls.

zerkms/symfony-psalm-plugin

13 2

Stubs for symfony interfaces

orklah/psalm-strict-equality

10 2

Automatically change == into === when safe

loot/spinoza

9 0

Package can generate documentation for service

orklah/psalm-not-empty

9 2

Automatically change empty() into a more explicit expression

orklah/psalm-use-constants

8 2

Fix the code to use existing constants instead of literals when available

bocmah/psalm-reactphp-mysql-plugin

3 0

Psalm plugin for react/mysql

seferov/symfony-psalm-plugin

3 6

Psalm Plugin for Symfony

bocmah/psalm-reactphp-promise-plugin

3 0

Psalm plugin for react/promise

weirdan/psalm-plugin-skeleton

2 6

Template to create psalm-plugin projects from

futurerockstars/nette-psalm-plugin

2 1

Psalm plugin for Nette Framework

dance-engineer/psalm-knapsack-collections

2 0

Stub to let Psalm understand Knapsack Collections better

leightonthomas/validation-psalm-plugin

1 0

Psalm plugin for leightonthomas/validation.

jmvdevelop/psalm-glob-stubs-plugin

1 0

Allow stubs with glob in your project

tdgroot/magento2-psalm

0 0

Psalm plugin for Magento 2

weirdan/psalm-doctrine-collections

0 50

Stubs to let Psalm understand Doctrine better

visma/magento2-psalm

0 2

Psalm plugin for Magento 2

sglitowitzsoci/soci-psalm-no-string-concatenation

0 0

SOCi Psalm Rule, no string concatenation

struggle-for-php/sfp-psalm-typed-local-variable-plugin

0 14

finding mismatch type assignment in function/method scope with psalm

struggle-for-php/sfp-psalm-psr-log-plugin

0 0

Stubs to let Psalm understand psr/log (PSR-3) strictly

patrickkusebauch/nette-psalm-plugin

0 1

Psalm plugin for Nette Framework

alexeyshockov/iter-psalm-plugin

0 2

nikic/iter type information for Psalm

psalm/plugin-sabre-event

0 0

Psalm plugin for sabre/event

klebann/moodle-psalm-plugin

0 0

A Psalm plugin to detect unsafe usage of $DB methods with SQL

el7cosmos/codeception-psalm-plugin

0 0

A Codeception plugin for psalm