mglaman/phpstan-drupal
PHPStan extension for Drupal that teaches static analysis about Drupal's APIs—hooks, services, plugins, entity types, and test base classes—so it catches real bugs and deprecations in modules, themes, and profiles while avoiding false positives.
phpstan-drupal is a PHPStan extension that brings accurate static analysis to Drupal code. It teaches PHPStan how Drupal works—resolving hooks, services, entity types, plugin managers, and dependency injection—so analysis catches real errors instead of false positives. It's the engine behind the popular drupal-check CLI.
How can I help you explore Laravel packages today?