larastan
web-php
larastan | web-php | |
---|---|---|
7 | 4 | |
5,192 | 807 | |
0.7% | -0.2% | |
9.1 | 9.4 | |
10 days ago | 7 days ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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
web-php
-
Underestimated PHP
Some of the references: https://github.com/php/web-php/pull/602 - redesign the PHP home page, to make it look more up-to-date with UI/UX trends. https://wiki.php.net/rfc/auto-capture-closure - Short Closures 2.0 https://thephp.foundation/blog/2022/06/30/php-core-roundup-3/ - Detailed report on progress from PHP-foundation collective
-
Can I PHP? - caniuse.com but for PHP features
I love this idea, and I'm tempting to contribute. I think first of all we need an open database with all manual entries with their initial version, deprecated version and removed version. We also need for all extension based manual entries a field indicating the name of the extension and/or whether they are enabled by default. Using https://github.com/php/web-php we can do a local extraction of this informtion. The UI and search algorithm are less interesting to me, but what you've made seems fine to me.
-
Searching php.net document is unfriendly for beginners.
If you're interested in seeing if you can improve the search facility, the PHP website source is available at https://github.com/php/web-php - the search facility is in search.php and results.php in the repository root. The autocomplete suggestions are controlled by js/search.js. It looks like some related files may also be in the manual/en directory.
- web-php/supported-versions.php at master · php/web-php
What are some alternatives?
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
doc-en - English PHP documentation
laravel-ide-helper - IDE Helper for Laravel
can-i-php - caniuse.com but for PHP - a searchable list of new and deprecated features in recent PHP versions
psalm-plugin-laravel - A Psalm plugin for Laravel
php-docker - Docker Official Image packaging for PHP
phpinsights - 🔰 Instant PHP quality checks from your console
enlightn - Your performance & security consultant, an artisan command away.
PHP Mess Detector - PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD. PHPMD can be seen as an user friendly frontend application for the raw metrics stream measured by PHP Depend.