Go to file
2019-02-18 19:02:49 -05:00
src Add plugin 2019-02-18 18:39:48 -05:00
.gitignore Add plugin 2019-02-18 18:39:48 -05:00
composer.json Add composer 2019-02-18 18:40:57 -05:00
psalm.xml Add composer 2019-02-18 18:40:57 -05:00
README.md Add better readme 2019-02-18 19:02:49 -05:00

laravel-psalm-plugin

A Psalm plugin for Laravel

Installation

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.