yorvoid / phpstan-rules
PHPStan rules for an application that uses YorvoID: they flag a call to one of YorvoID's stores, which are for implementing, not calling, and to what YorvoID marks @internal.
Package info
github.com/yorvoid/phpstan-rules
Type:phpstan-extension
pkg:composer/yorvoid/phpstan-rules
Requires
- php: >=8.4
- phpstan/phpstan: ^2.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-22 20:56:43 UTC
README
PHPStan rules for an application that uses YorvoID. They flag a call to one of YorvoID's stores, which are for implementing, not calling, and a use of what YorvoID marks @internal. For development only. Part of YorvoID, identity and access management for PHP.
composer require --dev yorvoid/phpstan-rules
With phpstan/extension-installer, the rules are on. Without it, include vendor/yorvoid/phpstan-rules/rules.neon in your PHPStan configuration. Read Check your application with YorvoID's PHPStan rules, and the rest of the documentation.
Read-only
This package is developed in yorvoid/yorvoid, in packages/phpstan-rules; its own repository is a read-only copy. Please open issues and pull requests in yorvoid/yorvoid, and report vulnerabilities privately as the security policy describes.
License
Licensed under the Apache License 2.0; see also NOTICE.