phpstan/phpstan-nette
PHPStan extension for Nette Framework. Improves type inference for components, DI container, forms, presenters/sessions, Html dynamic methods, SmartObject magic properties, events, and regex-based Strings utilities. Includes optional Nette-specific rules.
getComponent(), getValues()) are common pain points.Executives: "This tool automatically catches Nette-specific coding errors before they reach production, reducing costly bugs and accelerating feature delivery. It integrates seamlessly into our existing workflow with near-zero maintenance, saving engineering time while improving product reliability."
Engineering: "It extends PHPStan with Nette-specific type inference – think accurate component types, form value shapes, and DI container resolution – eliminating false positives and catching issues like invalid component access or regex pattern errors during development. Setup is a single composer require and config tweak, with zero runtime impact."
How can I help you explore Laravel packages today?