mirror of
https://github.com/danog/psalm-plugin-laravel.git
synced 2025-01-22 05:11:18 +01:00
Matthew Brown
c63ebc2216
Merge pull request #9 from wgriffioen/make-appinterfaceprovider-compatible-with-interface
Make AppInterfaceProvider compatible with Interface
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.
Languages
PHP
65.5%
Gherkin
33.4%
Shell
1.1%