mmoreram/php-formatter
PHP code formatter with CLI and configurable rules to standardize style across a project. Formats files or entire directories, helps enforce clean, consistent code, and integrates easily into development workflows and CI.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| mll-lab/php-cs-fixer-config | 0.89 | Shared php-cs-fixer configuration package. Install as a dev dependency and use the config($finder) helper in .php-cs-fixer.php. Optionally enable risky rules via risky($finder), override specific rules, or further customize the returned Config instance. | 0 | 0 | 0 | 11K | 0 | 18.9 | 60.1 | MIT | 6 months ago | |
| lookyman/coding-standard | 0.89 | Opinionated PHP coding standard package for your projects. Install via Composer and reference the bundled ruleset.xml in PHP_CodeSniffer to enforce consistent formatting and style, with room to add your own project-specific rules. | 0 | 0 | 0 | 8 | 0 | 1.1 | — | MIT | 8 years ago | |
| fabpot/php-cs-fixer | 0.89 | Automatically fix PHP coding standards issues and unify style across your codebase. Includes rule sets like PER-CS, Symfony, and PhpCsFixer, plus configurable rules and migrations to modern PHP and PHPUnit. Supports PHP 7.4–8.5. | 13,545 | 13,555 | 1,640 | 13K | 43 | 90.3 | 37.9 | MIT | 6 days ago | |
| ergebnis/php-cs-fixer-config | 0.88 | Factory-style PHP-CS-Fixer config for projects: choose a versioned ruleset (PHP 5.3–8.3), generate a consistent configuration, and keep coding standards aligned across repositories. Install via Composer and use with friendsofphp/php-cs-fixer. | 70 | 70 | 17 | 32K | 1 | 32.9 | 43.7 | MIT | 1 week ago | |
| codeat3/phpcs-styles | 0.88 | codeat3/phpcs-styles provides PHP_CodeSniffer rulesets and coding style configurations to standardize formatting and code quality across PHP projects, helping teams enforce consistent conventions in CI and local development. | 0 | 0 | 0 | 705 | 0 | 0.0 | 39.4 | — | — | |
| sllh/styleci-fixers | 0.88 | — | 4 | 4 | 3 | 3K | 1 | 0.2 | 38.7 | — | — | |
| eloquent/code-style | 0.87 | — | 0 | 0 | 0 | 10 | 0 | 0.8 | 13.8 | MIT | 3 years ago | |
| friendsofphp/php-cs-fixer | 0.87 | PHP CS Fixer automatically detects and fixes PHP coding style issues, applying built-in rule sets (PER-CS, Symfony, PhpCsFixer) or custom configs. Helps modernize code for newer PHP/PHPUnit. Install via Composer; supports PHP 7.4–8.5. | 13,545 | 13,631 | 1,640 | 5M | 43 | 91.5 | 73.8 | MIT | 6 days ago | |
| jakub-onderka/php-code-style | 0.87 | A PHP coding style toolkit for consistent formatting and style enforcement across projects. Helps standardize code layout and conventions, making reviews easier and reducing style-related noise in diffs for teams and CI pipelines. | 0 | 0 | 1 | 19 | 0 | 0.4 | 18.0 | — | 12 years ago | |
| artisanpack-ui/code-style | 0.85 | Custom PHP_CodeSniffer standard based on PhpStorm settings. Enforces consistent formatting, structure, naming, security and best practices via 16+ custom sniffs. Install with Composer and run via phpcs.xml or --standard=ArtisanPackUIStandard. | 0 | 0 | 0 | 839 | 18 | 24.6 | 52.5 | MIT | 2 months ago | |
| binsoul/coding-standard | 0.84 | PHP_CodeSniffer-based coding standard bundle for PHP projects, providing opinionated style rules and configurations to keep code consistent. Easy to install via Composer and integrate into CI for automated code style checks and enforcement. | 0 | 0 | 0 | 3 | 0 | 0.0 | 8.3 | MIT | — | |
| sonata-project/formatter-bundle | 0.84 | — | 84 | 86 | 118 | 19K | 0 | 21.5 | 34.9 | MIT | 7 months ago | |
| pmjones/php-styler | 0.81 | PHP-Styler is a PHP 8.1 code formatter that fully rewrites formatting for consistent spacing, indentation, and line splitting. It preserves code logic and comments, aims for diff-friendly output, and supports customizable styles/rules for structural transformations. | 41 | 41 | 2 | 28 | 0 | 23.4 | 3.5 | MIT | 3 months ago | |
| respect/string-formatter | 0.76 | Flexible PHP string formatting library with chainable formatters and templated placeholders. Mask, pattern, date, number, and more to transform/format values (e.g., credit cards, phones, amounts) via FormatterBuilder or PlaceholderFormatter modifiers. | 4 | 4 | 2 | 6K | 2 | 15.0 | 46.8 | ISC | 5 months ago | |
| yamadashy/phpstan-friendly-formatter | 0.75 | PHPStan Friendly Formatter enhances PHPStan output with code frames around errors, a summary of error identifiers and counts, and clean, readable reports. Install via Composer, include the extension in phpstan.neon, and set errorFormat to friendly. | 65 | 65 | 5 | 180K | 1 | 12.1 | 51.5 | MIT | 6 months ago | |
| pedrotroller/php-cs-custom-fixer | 0.73 | Custom fixers for PHP-CS-Fixer. Adds rules like ordering Behat context step definition methods by annotation and method name, with options for detecting context classes. Install via Composer and register the fixers in your .php_cs(.dist) config. | 82 | 83 | 10 | 18K | 4 | 16.2 | 40.1 | — | 10 months ago | |
| oscarotero/php-cs-fixer-config | 0.72 | Opinionated PHP-CS-Fixer configuration by Oscar Otero. Drop-in ruleset to standardize code style across projects, keep formatting consistent, and reduce bikeshedding. Ideal for teams wanting sensible defaults with minimal setup. | 2 | 2 | 1 | 4K | 0 | 1.5 | 42.8 | — | 1 year ago | |
| ely/php-code-style | 0.71 | Opinionated PHP-CS-Fixer rule set from Ely.by for PHP 7.4+ projects. Install alongside friendsofphp/php-cs-fixer, add a .php-cs-fixer.php using Ely\CS\Config, optionally override rules, then run php-cs-fixer to lint and fix code style. | 4 | 4 | 3 | 674 | 1 | 2.6 | 29.4 | Apache-2.0 | 3 years ago | |
| phpyh/coding-standard | 0.68 | PHPyh Coding Standard provides a ready-to-use PHP CS Fixer configuration for consistent formatting across your project. Install via Composer and apply the PhpCsFixerCodingStandard to your .php-cs-fixer.dist.php, with support for overriding rules. | 23 | 23 | 1 | 2K | 1 | 10.2 | 28.1 | MIT | 9 months ago | |
| diablomedia/php-cs-fixer-config | 0.67 | Reusable PHP-CS-Fixer configuration package by Diablo Media. Provides a shared, opinionated ruleset you can require in multiple projects to keep code style consistent and reduce per-repo fixer setup. | 0 | 0 | 0 | 25 | 0 | 3.0 | 19.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?