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

173,153 42

Psalm plugin for PHPUnit

psalm/plugin-symfony

123,970 108

Psalm Plugin for Symfony

psalm/plugin-laravel

49,210 146

A Laravel plugin for Psalm

weirdan/doctrine-psalm-plugin

41,009 53

Stubs to let Psalm understand Doctrine better

psalm/plugin-mockery

18,843 3

Psalm plugin for Mockery

hectorj/safe-php-psalm-plugin

3,914 2

vimeo/psalm plugin for thecodingmachine/safe

orklah/psalm-insane-comparison

3,399 16

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

lctrs/psalm-psr-container-plugin

2,264 8

Let Psalm understand better psr11 containers

shoot/psalm-plugin

1,905 1

Provides static analysis for Shoot models and presenters

alexeyshockov/guzzle-psalm-plugin

982 1

Guzzle type information for Psalm

dq5studios/psalm-junit

939 1

Add junit report format to psalm

php-standard-library/psalm-plugin

785 2

Psalm plugin for the PHP Standard Library

runtothefather/doctrine-psalm-plugin

609 4

Repository resolver to show psalm how to resolve getRepository method

marartner/psalm-no-empty

352 0

Do not allow usage of empty()

marartner/psalm-strict-equality

350 1

Psalm plugin to enforce strict equality

humanmade/psalm-plugin-wordpress

236 23

WordPress stubs and plugin for Psalm.

orklah/psalm-strict-types

216 9

Adds strict_types declaration when the file is provably safe

orklah/psalm-strict-visibility

212 5

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

someniatko/iter-psalm-plugin

152 0

nikic/iter type information for Psalm

fkupper/psalm-laravel-collections

147 7

Stubs to let Psalm understand Laravel Collections better

orklah/psalm-strict-numeric-cast

143 2

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

samlitowitz/psalm-no-variables-in-strings

136 0

Do not allow variables in strings

samlitowitz/psalm-no-double-quoted-strings

136 0

Do not allow double-quoted strings

kafkiansky/service-locator-interrupter

84 4

Psalm plugin for Laravel that interrupt service locator calls.

klimick/psalm-show-type

28 2

Analog for psalm-trace but with pretty print

matthewbdaly/psalm-plugin-zendframework1

13 1

Psalm plugin for Zend Framework 1

runtothefather/doctrine-mongodb-psalm-plugin

12 1

Stubs to let Psalm understand Doctrine MongoDb ODM better

orklah/psalm-strict-equality

11 2

Automatically change == into === when safe

tdgroot/magento2-psalm

8 0

Psalm plugin for Magento 2

mortenson/psalm-plugin-drupal

8 0

Psalm support for Drupal security analysis.

seferov/symfony-psalm-plugin

6 6

Psalm Plugin for Symfony

zerkms/symfony-psalm-plugin

4 2

Stubs for symfony interfaces

futurerockstars/nette-psalm-plugin

2 1

Psalm plugin for Nette Framework

weirdan/psalm-plugin-skeleton

2 6

Template to create psalm-plugin projects from

orklah/psalm-strict-types-empty-class

2 0

Add declaration of strict_types in empty class

patrickkusebauch/nette-psalm-plugin

1 1

Psalm plugin for Nette Framework

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

1 0

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

jmvdevelop/psalm-glob-stubs-plugin

1 1

Allow stubs with glob in your project

loot/spinoza

1 0

Package can generate documentation for service

el7cosmos/codeception-psalm-plugin

1 0

A Codeception plugin for psalm

orklah/psalm-type-setters-params

1 1

Use property type to fix param in the setter

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

1 15

finding mismatch type assignment in function/method scope with psalm

weirdan/psalm-doctrine-collections

0 50

Stubs to let Psalm understand Doctrine better

bocmah/psalm-reactphp-mysql-plugin

0 0

Psalm plugin for react/mysql

visma/magento2-psalm

0 2

Psalm plugin for Magento 2

klebann/moodle-psalm-plugin

0 0

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

alexeyshockov/iter-psalm-plugin

0 2

nikic/iter type information for Psalm

orklah/psalm-not-empty

0 9

Automatically change empty() into a more explicit expression

bocmah/psalm-reactphp-promise-plugin

0 0

Psalm plugin for react/promise

sglitowitzsoci/soci-psalm-no-string-concatenation

0 0

SOCi Psalm Rule, no string concatenation

kafkiansky/reduce-arguments

0 0

Psalm plugin that makes sure that you don't use too many arguments in functions and methods.

dance-engineer/psalm-knapsack-collections

0 0

Stub to let Psalm understand Knapsack Collections better

orklah/psalm-use-constants

0 2

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

psalm/plugin-sabre-event

0 0

Psalm plugin for sabre/event

leightonthomas/validation-psalm-plugin

0 1

Psalm plugin for leightonthomas/validation.