web-php
PHP Code Sniffer
web-php | PHP Code Sniffer | |
---|---|---|
4 | 47 | |
810 | 10,607 | |
0.1% | 0.1% | |
9.4 | 6.8 | |
2 days ago | about 2 months ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" 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.
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
PHP Code Sniffer
- The Future of PHP_CodeSniffer
-
Laravel code-quality tools
PHP Insights supports sniffs from PHP CodeSniffer and fixers from PHP CS Fixer. This allows you to add any sniff or fixer as long as it implements PHP_CodeSniffer\Sniffs\Sniff or PhpCsFixer\Fixer\FixerInterface.
-
PHP_CodeSniffer update (package name will NOT be changing... just the repo & ownership)
I don’t know why but that link keeps reloading the page over and over. This one works for me: https://github.com/squizlabs/PHP_CodeSniffer/issues/3932
- The Future of PHP CodeSniffer
-
Top 6 PHP code quality tools 2023
PHP_CodeSniffer is a widely-used tool for enforcing coding standards in PHP. It checks the code against a set of predefined coding standards (such as PSR-12, PSR-2, and many others) and provides reports with violations and recommendations for improvement. Documentation: You can find more information about PHP_CodeSniffer and its usage in the official documentation: PHP_CodeSniffer Repository
-
PHP in 2023 - stitcher.io
While you're at it, also include code-style checkers like phpcs, phpmd and/or php-cs-fixer
-
how can I know if I am following PSR standards
See https://github.com/squizlabs/PHP_CodeSniffer
-
change versions
If you are well-versed in programming then you might wanna take a look at PHPCompatibility. It will scan your codebase at different PHP version rulesets to point out code that needs upgrading. You will be needing PHPCS for this.
-
Your experience switching from vanilla PHP spaghetti/OOP to Symfony?
PHP code sniffer
What are some alternatives?
PHPCompatibility - PHP Compatibility check for PHP_CodeSniffer
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
doc-en - English PHP documentation
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
can-i-php - caniuse.com but for PHP - a searchable list of new and deprecated features in recent PHP versions
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.
larastan - ⚗️ Adds code analysis to Laravel improving developer productivity and code quality.
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
php-docker - Docker Official Image packaging for PHP
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
GrumPHP - A PHP code-quality tool