solido/phpstan-rules

PHPStan rules for Solido suite

Maintainers

Package info

github.com/solid-o/phpstan-rules

Type:phpstan-extension

pkg:composer/solido/phpstan-rules

Statistics

Installs: 20 865

Dependents: 1

Suggesters: 0

Stars: 2

Open Issues: 0

v0.5.0 2026-06-21 22:11 UTC

This package is auto-updated.

Last update: 2026-06-21 22:12:53 UTC


README

This package contains the custom rules to be used in solido-based projects.

Configuration

When using enhanced DTOs, PHPStan should be configured with DTO namespaces:

# phpstan.neon

parameters:
    solido:
        dto_namespaces:
            - My\Application\DTO
            - App\Models
        excluded_interfaces:
            - My\Application\DTO\NonDTOInterface