phpstan-watcher

2.1.0 • Public • Published

phpstan-watcher


✨ Getting Started In 4 easy Steps

1: First, you may use npm to install phpstan-watcher globally:

npm i -g phpstan-watcher

2: Then, install phpstan and/or larastan

3: Important: create script shortcuts in composer.json

        "analyse": [
            "./vendor/bin/phpstan analyse"
        ],
        "analyse-json": [
            "./vendor/bin/phpstan analyse --error-format=json"
        ]

4: Finally, start phpstan-watcher in the root of your project folder

npm exec phpstan-watcher

or

npx phpstan-watcher

📖 Notification

For the notifications to work : on mac you should allow terminal notifications

📖 License

Phpstan-watcher is an open-sourced software licensed under the ISC License.

📖 Author

Tim Vande Walle

Package Sidebar

Install

npm i phpstan-watcher

Weekly Downloads

13

Version

2.1.0

License

MIT

Unpacked Size

87.3 kB

Total Files

9

Last publish

Collaborators

  • tim_vdwalle