canvural/phpstan-blade-rule
A PHPStan rule for Laravel Blade templates that brings static analysis to your views. Catch undefined variables, type mismatches, and other errors in .blade.php files before runtime by analyzing compiled templates with PHPStan.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| magentron/laravel-blade-lint | 0.89 | Laravel Blade Lint validates Blade templates and reports syntax errors, malformed directives, and other template issues before they reach production. Use its Artisan command locally or in CI to keep views clean and catch mistakes early. | 16 | — | 3 | — | 0 | 14.4 | — | GPL-3.0 | 3 months ago |
|
| orrison/meliorstan | 0.88 | Meliorstan is a Laravel-focused PHPStan companion that simplifies static analysis setup with sensible presets and helpful rules, so teams can catch bugs earlier, enforce coding consistency, and keep applications safer with less configuration. | 20 | 20 | 0 | 6K | 1 | 19.3 | 39.5 | MIT | 3 weeks ago | |
| radic/blade-extensions | 0.87 | radic/blade-extensions is a collection of practical custom directives that extend Laravel's Blade templating engine. It adds convenient helpers for variable assignment, loop control, and common view tasks, letting you keep templates cleaner and more expressive without writing extra PHP. | 264 | 270 | 35 | 540 | 1 | 2.5 | 6.7 | MIT | — | |
| phpstan/phpstan-strict-rules | 0.87 | Extra strict, opinionated PHPStan rules for defensive, strongly typed PHP: require booleans in conditions, strict function-call flags, numeric arithmetic operands, matching switch types, no useless casts, and safer loop variable handling. | 714 | 721 | 63 | 5M | 35 | 45.9 | 75.1 | MIT | 4 days ago | |
| oro/phpstan-rules | 0.87 | Oro PHPStan Rules adds custom static analysis checks to PHPStan for Laravel and PHP projects, helping teams catch risky patterns, enforce coding standards, and improve code quality early in CI. Lightweight and easy to integrate. | 13 | 13 | 5 | 538 | 1 | 0.4 | 22.0 | MIT | 2 years ago | |
| calebdw/phpstan-laravel | 0.87 | A PHPStan extension for Laravel that teaches static analysis about Laravel’s magic, including facades, helpers, Eloquent models, and container bindings, reducing false positives and surfacing more accurate type errors in Laravel apps. | 35 | 35 | 7 | 12K | 0 | 20.4 | 40.9 | MIT | 5 days ago | |
| wyrihaximus/phpstan-rules-wrapper | 0.87 | WyriHaximus PHPStan Rules Wrapper bundles popular PHPStan rulesets—ergebnis, strict, deprecation, PHPUnit, Mockery, ShipMonk, Symplify, PSR-3 and more—into one Composer package. Install it and, thanks to phpstan/extension-installer, the included rules work out of the box. | 6 | 6 | 0 | 133K | 1 | 31.8 | 64.9 | MIT | 6 days ago | |
| soyhuce/phpstan-extension | 0.87 | A PHPStan extension from Soyhuce that adds custom rules and type extensions for Laravel and PHP projects, helping teams catch bugs earlier and improve static analysis accuracy in CI and local development. | 1 | — | 1 | — | 0 | 0.9 | 1.5 | MIT | 1 year ago | |
| duncan3dc/blade | 0.87 | duncan3dc/blade brings Laravel's Blade templating engine to any PHP project without Laravel. Render views with familiar Blade syntax, directives, layouts, includes, and caching, making it easy to add clean, reusable templates to standalone apps, scripts, or legacy codebases. | 147 | — | 34 | — | 2 | 2.2 | — | Apache-2.0 | — | |
| rector/phpstan-rules | 0.86 | PHPStan rules for Rector projects that catch common mistakes in Rector rules and configuration, helping you keep automated refactorings safer and more consistent. Use these ready-made checks to validate custom rules and configs before they rewrite your codebase. Ideal for teams maintaining custom Re... | 0 | 13 | — | 118 | — | 0.0 | 28.7 | — | — | |
| larastash/blade | 0.86 | Larastash Blade is a lightweight Laravel package offering reusable Blade components and directives to keep templates clean and consistent. It streamlines common view patterns and reduces repeated markup in your app. | 0 | — | 0 | — | 0 | 20.0 | — | — | 1 week ago | |
| phpstan/phpstan-php-parser | 0.86 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| fortephp/forte | 0.86 | Forte is a Laravel package that provides a clean, expressive API for common application needs, with sensible defaults, flexible configuration, and seamless framework integration. It helps developers reduce boilerplate, ship features faster, and keep their codebase organized and maintainable. | 67 | — | 2 | — | 0 | 16.6 | — | MIT | 2 months ago |
|
| dave-liddament/phpstan-rule-test-helper | 0.86 | A lightweight test helper for PHPStan custom rules. It provides utilities to run rules against sample code and assert expected errors, reducing boilerplate when validating your static analysis extensions. | 1 | 1 | 1 | 9K | 3 | 2.4 | 51.7 | MIT | 11 months ago | |
| kcs/phpstan-strict-rules | 0.86 | Fork of thecodingmachine/phpstan-strict-rules to support PHPStan v2. Adds stricter best-practice rules beyond core PHPStan, especially around exception handling (avoid throwing base Exception, empty catches, proper rethrowing). | 3 | 3 | 0 | 4K | 0 | 0.0 | 42.1 | — | — | |
| philo/laravel-blade | 0.86 | Use Laravel's Blade template engine outside of Laravel. This package compiles .blade.php templates into plain PHP through a simple standalone API, supporting layouts, includes, directives, and caching—ideal for lightweight projects that want Blade's clean syntax without the full framework. | 355 | 386 | 90 | 3K | 15 | 9.1 | 18.4 | — | 10 years ago | |
| larastan/larastan | 0.86 | Larastan is a PHPStan extension for Laravel that adds static typing and catches whole classes of bugs before you write tests. It boots your application's container to resolve types only computable at runtime while supporting Laravel's magic. | 6,547 | 6,560 | 529 | 11M | 39 | 85.8 | 78.7 | MIT | 3 days ago | |
| phpstan/phpstan-deprecation-rules | 0.85 | PHPStan extension that reports usage of deprecated classes, methods, properties, constants, and traits. Supports custom deprecation markers and scopes, with stub files for deprecations in third-party code you don’t own. | 464 | 468 | 26 | 6M | 17 | 28.8 | 70.1 | MIT | 3 months ago | |
| nunomaduro/laravel-code-analyse | 0.85 | Laravel Code Analyse brings static code analysis to your Laravel apps. Run the artisan command to scan your codebase against configurable checks, catch common issues early, and keep your code clean, consistent, and production-ready. | 6,548 | 6,548 | 529 | 187 | 39 | 74.7 | 28.6 | MIT | 3 days ago | |
| contributte/phpstan | 0.84 | Contributte PHPStan integration for Nette projects. Install via Composer and get a ready-to-use PHPStan setup tailored for Nette 3.3+ on PHP 8.2+, with docs and ongoing maintenance by the Contributte team. | 1 | 2 | 2 | 24K | 0 | 4.8 | 56.9 | MIT | 10 months ago |
How can I help you explore Laravel packages today?