Go to file
Siebe Vanden Eynden 22e7a029f4
Add new release of testbench
This allows the new laravel version
2020-03-06 14:16:21 +01:00
.github/workflows Fix path to Psalm 2020-01-08 00:14:02 -05:00
src Fix some Psalm errors and bump version 2020-01-08 00:10:08 -05:00
.gitignore Fix #1 by improving plugin initialisation 2019-02-20 01:33:01 -05:00
composer.json Add new release of testbench 2020-03-06 14:16:21 +01:00
LICENSE Add license 2020-02-03 16:57:15 -05:00
psalm-baseline.xml Add baseline to capture existing errors 2020-01-08 00:11:05 -05:00
psalm.xml Add baseline to capture existing errors 2020-01-08 00:11:05 -05:00
README.md Update name 2020-01-08 00:41:32 -05:00

Psalm plugin for Laravel

Type coverage

Installation

First install Psalm in your project, making sure to run --init, then run the following commands:

composer require --dev psalm/plugin-laravel
vendor/bin/psalm-plugin enable psalm/plugin-laravel

How it works

Under the hood it just runs https://github.com/barryvdh/laravel-ide-helper and feeds the resultant stubs into Psalm. It also uses a couple of function return type providers, but nothing special.