Go to file
Matthew Brown c63ebc2216
Merge pull request #9 from wgriffioen/make-appinterfaceprovider-compatible-with-interface
Make AppInterfaceProvider compatible with Interface
2019-03-19 11:49:40 -04:00
src Make AppInterfaceProvider compatible with MethodReturnTypeProviderInterface 2019-03-19 15:01:11 +01:00
.gitignore Fix #1 by improving plugin initialisation 2019-02-20 01:33:01 -05:00
composer.json Require latest Psalm version 2019-03-11 11:58:15 -04:00
psalm.xml Resolving an issue in the plugin where it isn't always bootstrapped. 2019-03-06 11:13:55 -05:00
README.md Added more explicit instructions 2019-03-11 00:53:27 -04:00

laravel-psalm-plugin

A Psalm plugin for Laravel

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.