Check NEON/YAML/TWIG/LATTE files for existing classes and class constants
composer require symplify/class-presence --dev
Check configs and templates for non-existing classes.
vendor/bin/class-presence check src
Supported:
- TWIG
- LATTE
- YAML
- NEON
- PHP templates (e.g. Blade)
In case you are experiencing a bug or want to request a new feature head over to the Symplify monorepo issue tracker
The sources of this package are contained in the Symplify monorepo. We welcome contributions for this package on symplify/symplify.