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

135,777 38

Psalm plugin for PHPUnit

psalm/plugin-symfony

66,655 84

Psalm Plugin for Symfony

psalm/plugin-laravel

33,495 112

A Laravel plugin for Psalm

weirdan/doctrine-psalm-plugin

33,271 50

Stubs to let Psalm understand Doctrine better

psalm/plugin-mockery

7,274 3

Psalm plugin for Mockery

orklah/psalm-insane-comparison

4,008 12

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

hectorj/safe-php-psalm-plugin

2,484 2

vimeo/psalm plugin for thecodingmachine/safe

lctrs/psalm-psr-container-plugin

1,290 6

Let Psalm understand better psr11 containers

alexeyshockov/guzzle-psalm-plugin

695 1

Guzzle type information for Psalm

shoot/psalm-plugin

454 1

Provides static analysis for Shoot models and presenters

dq5studios/psalm-junit

233 1

Add junit report format to psalm

runtothefather/doctrine-psalm-plugin

176 3

Repository resolver to show psalm how to resolve getRepository method

seferov/symfony-psalm-plugin

138 6

Psalm Plugin for Symfony

someniatko/iter-psalm-plugin

104 0

nikic/iter type information for Psalm

humanmade/psalm-plugin-wordpress

73 18

WordPress stubs and plugin for Psalm.

futurerockstars/nette-psalm-plugin

28 1

Psalm plugin for Nette Framework

matthewbdaly/psalm-plugin-zendframework1

22 1

Psalm plugin for Zend Framework 1

dance-engineer/psalm-knapsack-collections

20 0

Stub to let Psalm understand Knapsack Collections better

zerkms/symfony-psalm-plugin

18 2

Stubs for symfony interfaces

orklah/psalm-strict-types

15 2

Adds strict_types declaration when the file is provably safe

klebann/moodle-psalm-plugin

13 0

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

kafkiansky/service-locator-interrupter

9 3

Psalm plugin for Laravel that interrupt service locator calls.

weirdan/psalm-plugin-skeleton

7 6

Template to create psalm-plugin projects from

jmvdevelop/psalm-glob-stubs-plugin

6 0

Allow stubs with glob in your project

bocmah/psalm-reactphp-promise-plugin

6 0

Psalm plugin for react/promise

fkupper/psalm-laravel-collections

2 4

Stubs to let Psalm understand Laravel Collections better

orklah/psalm-strict-numeric-cast

2 1

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

visma/magento2-psalm

2 0

Psalm plugin for Magento 2

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

1 13

finding mismatch type assignment in function/method scope with psalm

el7cosmos/codeception-psalm-plugin

1 0

A Codeception plugin for psalm

orklah/psalm-strict-visibility

1 5

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

sglitowitzsoci/soci-psalm-no-string-concatenation

0 0

SOCi Psalm Rule, no string concatenation

alexeyshockov/iter-psalm-plugin

0 2

nikic/iter type information for Psalm

samlitowitz/psalm-no-variables-in-strings

0 0

Do not allow variables in strings

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

0 0

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

samlitowitz/psalm-no-double-quoted-strings

0 0

Do not allow double-quoted strings

psalm/plugin-sabre-event

0 0

Psalm plugin for sabre/event

leightonthomas/validation-psalm-plugin

0 0

Psalm plugin for leightonthomas/validation.

weirdan/psalm-doctrine-collections

0 50

Stubs to let Psalm understand Doctrine better

patrickkusebauch/nette-psalm-plugin

0 1

Psalm plugin for Nette Framework

orklah/psalm-strict-types-empty-class

0 0

Add declaration of strict_types in empty class