PHP Code Sniffer
xDebug
Our great sponsors
PHP Code Sniffer | xDebug | |
---|---|---|
47 | 28 | |
10,603 | 3,051 | |
0.3% | 1.0% | |
6.8 | 8.8 | |
28 days ago | 11 days ago | |
PHP | PHP | |
BSD 3-clause "New" or "Revised" 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.
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
xDebug
-
XDebug with WP-Setup
WP Setup has been updated to version 1.1.0, introducing Xdebug support and allowing for easy generation of test coverage reports.
-
Maximizing Laravel's potential: Strategies for high-performance optimization
Code profiling: Code profiling involves measuring the performance of your code by analyzing the execution time and memory usage of specific functions or methods. You can use a tool like Xdebug or Blackfire to perform code profiling on your Laravel application. To use Blackfire, ensure that your environment meets the following requirements:
-
8 Essential Tools Every PHP Developer Needs
xDebug is a powerful PHP debugging and profiling tool. Integrated with many IDEs, it can be used for step-by-step debugging, setting breakpoints, and real-time value inspection, making the debugging process more efficient. (xDebug is already built into ServBay, no need for separate installation)
-
Installing PHP Unit
It is necessaire to active Xdebug on your PHP. More details on Xdebug official documentation.
-
Docker environment for WordPress development
Is a Docker WordPress Environment focused on the development of WordPress plugins and themes, supports WP-CLI, phpMyAdmin, Xdebug and WordPress Coding Standards - WPCS.
-
Moving from Java to PHP Project
I've gotten a lot of mileage out of Psalm, a static analysis tool that can help you identify potential bugs and things that might not be considered best practice, and XDebug, a debugging and profiling extension for PHP.
-
Your experience switching from vanilla PHP spaghetti/OOP to Symfony?
Step debugger
-
How to Use a Debugger in PHP
XDebug
- Fatal error in class-wpdb.php
-
Debugging in WordPress | WordPress এ আমি যেভাবে ডিবাগিং করি
Details: https://xdebug.org/
What are some alternatives?
PHP CS Fixer - A tool to automatically fix PHP Coding Standards issues
PHPDBG
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
XHProf - XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based user interface.
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.
PHP Debug Bar - Debug bar for PHP
phan - Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
Kint - Kint - a powerful and modern PHP debugging tool.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Tracy - 😎 Tracy: the addictive tool to ease debugging PHP code for cool developers. Friendly design, logging, profiler, advanced features like debugging AJAX calls or CLI support. You will love it.
GrumPHP - A PHP code-quality tool
PHPBench - PHP Benchmarking framework