larastan
phpstan-wordpress
larastan | phpstan-wordpress | |
---|---|---|
7 | 1 | |
5,192 | 245 | |
0.7% | - | |
9.1 | 6.8 | |
10 days ago | about 1 month ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
larastan
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
Larastan is a Coding Standards Fixer tool, It's a PHPStan wrapper for Laravel. Larastan focuses on finding errors in your code. It catches whole classes of bugs even before you write tests for the code.
-
Underestimated PHP
Static analysis or Laravel-lovers
-
Modern PHP practices... where to start, what to look out for?
Static Analysis Tools - there are a number of tools that help you to manage code style (PHPCS, PHP-CSFixer, and a new one, Laravel Pint), as well as tools to analyse the "correctness" of your code (Psalm, PHPstan, in particular LaraStan).
-
10 Laravel packages that might save your day
7. nunomaduro/larastan
-
Matt Brown, the creator of psalm, stops working at Vimeo (and stops working with PHP)
https://github.com/nunomaduro/larastan should help with this specifically
-
Larastan 0.7.3 is released with a rule that can check Laravel Octane compatibility
New 0.7.3 release includes a rule that can check Laravel Octane compatibility of your application. It basically automates the things mentioned in the official docs. You can give it a try now! And let me know what do you think!
-
I am attracted to Symfony a lot while I already develop very well with Laravel. Should I also learn Symfony?
again, not trying to get into a symfony vs laravel debate, but you can do static analysis https://github.com/nunomaduro/larastan
phpstan-wordpress
-
Introducing GraphQL by PoP, a CMS-agnostic GraphQL server in PHP
So I have set-up PHPStan on all agnostic packages, aiming to level 8 (I'm not there yet). And with the WordPress packages I also run PHPStan (thanks to szepeviktor/phpstan-wordpress), being able to focus on WordPress code only.
What are some alternatives?
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
phpstan-deprecation-rules - PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
extension-installer - Composer plugin for automatic installation of PHPStan extensions.
laravel-ide-helper - IDE Helper for Laravel
psalm-plugin-laravel - A Psalm plugin for Laravel
wordpress-stubs - Up-to-date WordPress function and class declaration stubs for static analysis by PHPStan
phpinsights - 🔰 Instant PHP quality checks from your console
lightncandy - An extremely fast PHP implementation of handlebars ( http://handlebarsjs.com/ ) and mustache ( http://mustache.github.io/ ),
enlightn - Your performance & security consultant, an artisan command away.
GatoGraphQL - Interact with all your data in WordPress using GraphQL