Skip to content
A Psalm plugin for Laravel
Branch: master
Clone or download
Latest commit 7ab08fa Mar 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Make AppInterfaceProvider compatible with MethodReturnTypeProviderInt… Mar 19, 2019
.gitignore
README.md
composer.json
psalm.xml

README.md

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.

You can’t perform that action at this time.