Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Phpstan Drupal

Phpstan Drupal Laravel Package

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.

Deep Wiki
Context7

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.

  • Resolves Drupal hooks, services, plugins, and entity type annotations
  • Deprecation testing for core and contributed modules
  • Custom Drupal-aware PHPStan rules and ignore rules
  • Bootstrap support for full Drupal site analysis
  • Compatible with PHPStan 1.x/2.x and Drupal 8–11
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo