Weave Code
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 Rules Laravel Package

nette/phpstan-rules

Extra PHPStan rules from the Nette ecosystem to catch more issues in your PHP codebase. Adds stricter checks and best-practice validations on top of PHPStan, helping improve static analysis coverage and prevent bugs before runtime.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables teams using Nette framework to leverage static analysis tailored to Nette-specific components (e.g., DI containers, forms, database layers), reducing manual code review efforts and catching framework-specific bugs early.
  • Supports build vs buy decisions by providing pre-built, tested rules instead of developing custom PHPStan extensions, accelerating quality assurance processes and freeing engineering bandwidth for feature development.
  • Facilitates roadmap items focused on code quality improvements, such as enforcing best practices for Nette’s architecture (e.g., strict type checks for services, form validations) and reducing runtime errors through proactive static analysis.

When to Consider This Package

  • Adopt when the project uses Nette framework and PHPStan for static analysis, especially when needing Nette-specific type checks (e.g., Nette\DI\Container, Nette\Application\UI\Form) or validation rules for Nette’s ecosystem components.
  • Consider if the team prioritizes framework-specific static analysis over generic rules and has PHPStan 2.1+ in their toolchain.
  • Look elsewhere if: the project doesn’t use Nette (e.g., Laravel/Symfony), requires broader static analysis beyond Nette components (e.g., generic PHP patterns), or if the package’s low adoption (0 dependents, 6 stars) raises concerns about maintenance and community support. Verify recent activity in the repository to ensure compatibility with current PHP/Nette versions.

How to Pitch It (Stakeholders)

  • Executives: "
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport