- install phpstan and add it to composer.json - make a github actions workflow that installs composer and runs phpstan