1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/docs/installation.md
2018-04-15 10:56:43 -04:00

287 B

Installation

Psalm Requires PHP >= 5.6 and Composer.

composer require --dev vimeo/psalm

Add a psalm.xml config:

./vendor/bin/psalm --init [source_directory=src] [config_level=3]

Then run Psalm:

./vendor/bin/psalm