Search by

stewart-php / phpstan

Zolli

PHPStan rules that check Home Assistant entity IDs and action names against a Stewart project's generated classes

Package info

github.com/stewart-php/phpstan

Homepage

Issues

Documentation

Type:phpstan-extension

pkg:composer/stewart-php/phpstan

Statistics

Installs: 11

Dependents: 1

Suggesters: 0

Stars: 0

v2.0.0 2026-10-23 21:48 UTC

This package is auto-updated.

Last update: 2026-10-23 22:36:34 UTC


README

PHPStan rules for a Stewart project: entity IDs and action names written in the code are checked against the classes stewart generate wrote, so getState('light.kitchn') or callAction('light.turn_onn') fails make stan instead of an automation at run time.

composer config allow-plugins.phpstan/extension-installer true
composer require --dev stewart-php/phpstan phpstan/extension-installer

Part of Stewart: Home Assistant automations in PHP. Start a project from stewart-php/skeleton rather than requiring packages one by one.

Documentation: stewart-php.github.io/docs.

This repository is a read-only split of the monorepo. Open issues and pull requests at stewart-php/stewart.

License

MIT; see LICENSE.