PHP-CS-Fixer
fig-standards
PHP-CS-Fixer | fig-standards | |
---|---|---|
1 | 47 | |
46 | 12,516 | |
- | 0.1% | |
0.0 | 7.7 | |
over 7 years ago | 4 days ago | |
PHP | ||
GNU General Public License v3.0 or later | 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-CS-Fixer
-
PHP Static Analysis Tools Review
PHP Coding Standards Fixer suggests fixes according to the coding standard you specified. The following example lists the problems found in two files:
fig-standards
- Moving PHP forward through collaboration and standards
-
A workaround to handle PSR-4 && WordPress Coding Standards at same time
The namespaces and class names must follow this example.
-
Materials/Topics for Senior dev new to PHP
I would familiarize yourself with the following PHP standards: https://www.php-fig.org
-
Autoloading, coding standards and file structure in WordPress plugin development
The PHP Standard Recommendation, or PSR for short, from the aforementioned PHP-FIG.
- PHP-FIG considering raising money to cover $30/year costs
- PHP-FIG planning to raise money to cover $30/year costs
-
PSR-4 Autoloading Woes
That's what happens if you use a PSR-4 autoloader and not utilise PSR-4 in your project structure ๐ So either use PSR-0 or properly use PSR-4.
- PHPDoc, PSR-5 and commenting inside the code
- PHP-Fig Is Down
-
I donโt get all the hate for PHP and at this point I am too afraid to ask.
PHP really "got it's act together" in my view when packagist and composer (which are PHP's equivalent of npm) became mainstream and with the release of the PSR community standards. We were admittedly a little behind the curve with regards to package managers but with standardised formats and not having to copy and paste zip file libraries anymore, PHP received a new lease of life.
What are some alternatives?
PHPCPD - Copy/Paste Detector (CPD) for PHP code.
sulu - Core framework that implements the functionality of the Sulu content management system
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.
laravel-totem - Manage Your Laravel Schedule From A Web Dashboard
PHPLOC - A tool for quickly measuring the size of a PHP project.
Symfony - The Symfony PHP framework
headless-wp-starter - ๐ช WordPress + React Starter Kit: Spin up a WordPress-powered React app in one step
Brick\Money - A money and currency library for PHP
app - Yii3 application template
corcel - Use WordPress backend with Laravel or any PHP application
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Plates - Native PHP template system