phpinspectionsea
phan
Our great sponsors
phpinspectionsea | phan | |
---|---|---|
5 | 8 | |
1,427 | 5,500 | |
- | 0.2% | |
1.3 | 8.2 | |
12 months ago | about 2 months ago | |
Java | PHP | |
GNU General Public License v3.0 or later | 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.
phpinspectionsea
-
PHP RFC: Deprecations for PHP 8.3
(I actually held the same opinion as you until recently: https://github.com/kalessil/phpinspectionsea/issues/1718 tl;dr the performance impact is negligible)
-
php inspections ea plugin
See here for some background https://github.com/kalessil/phpinspectionsea/issues/1823 although some things seem to not add up (see last comments, the repository maintainer is active on GitHub but does not commit fixes readily prepared by others).
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
PHP Inspections is a static code analyzer and code review tool for PhpStorm IDE.
-
What are those micro-optimizations that you can't forget?
The PHP-EA Extended static analysis plugin for PHPStorm has a number of Performance rules which has some of the same items as this list, although they're not all in the performance category, the single quotes inspection is under code style.
-
Ask HN: What are some “10x” softiware product innovations you have experienced?
PHP Inspections (EA Extended)[1] by Vladimir Reznichenko, a PHP language static analysis plugin for PHPStorm / JetBrains. I've coded in PHP for many years now, but there are many helpful reminders and checks that come standard with it. Some of the small performance quirks are game changers in long running processes, or intensive methods.
[1]: https://github.com/kalessil/phpinspectionsea
phan
-
7.4 to 8.x upgrade help
Besides what others have already advised, you can also get Phan to scan your project. Set the target to 8.1 and let it run its analysis. Check GitHub repo and docs there for more verbose instructions: https://github.com/phan/phan/
-
Need to write an invoicing script. The old one is PHP/mySQL and nearly 20 years old. Yes, really. What framework should I use?
Phan, php7mar, and php-short-array-syntax-converter for a bonus
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
Phan is a static analyzer for PHP. Phan prefers to avoid false positives and attempts to prove incorrectness rather than correctness.
-
Introducing Phirs (0.1.0), a cross-platform and well-tested user directory path provider library, including cache and config paths
I don't think so. Phoronix Test Suite is a big example. Plus, in the PHP community itself, there are so many CLI apps: Composer, PHPUnit, static analyzers like Phan, just to name a few. Symfony Console component has more than 9k stars, so this should mean PHP is a capable tool for CLI apps.
-
Is there any software I can use to check my php code? Preferably CLI. Thanks in advance!
PHPStan as mentioned, there's also psalm and Phan.
-
Emotional Rage: any static-typed PHP compilers?
You can use a static analyzer like Phan to lint the project.
-
What is a good tool to check codebase compatibility with PHP 8?
- Phan (https://github.com/phan/phan) seems that it can check for backward compatibility but I've yet to find a way to configure it for forward-compatibility
-
A minimal Drupal 9 local development environment
Phan
What are some alternatives?
idea-php-laravel-plugin - Laravel Framework Plugin for PhpStorm / IntelliJ IDEA
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
dbt - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications. [Moved to: https://github.com/dbt-labs/dbt-core]
Psalm - A static analysis tool for finding errors in PHP applications
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
PHP Code Sniffer - PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards.
black - The uncompromising Python code formatter
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
gocypher-cybench-intellij - CyBench IntelliJ IDEA plugin for benchmarking APIs, Java code
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.
Hotkeys - This simple Android Studio plugin includes keyboard shortcuts for many common actions.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code