A PHPStan extension for Laravel that adds static code analysis to catch bugs and improve code quality.
Larastan is a PHPStan extension for Laravel that performs static code analysis to detect bugs and improve code quality. It adds type checking to Laravel applications, catching errors before tests are written and supporting Laravel's dynamic features. The tool boots the Laravel container to analyze runtime-dependent types, providing deeper insights than traditional static analysis.
Laravel developers and teams looking to improve code reliability, enforce type safety, and catch bugs early in the development process. It's particularly valuable for projects aiming to maintain high code quality in complex Laravel applications.
Developers choose Larastan because it seamlessly integrates with Laravel's ecosystem, understands Laravel-specific patterns, and provides actionable feedback without compromising Laravel's developer experience. Its ability to analyze runtime-dependent types sets it apart from generic static analysis tools.
⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.