cline/php-cs-fixer

Centralized coding standards for Cline projects using PHP-CS-Fixer, ECS, and Rector

Maintainers

Package info

github.com/faustbrian/coding-standard

pkg:composer/cline/php-cs-fixer

Statistics

Installs: 7 271

Dependents: 2

Suggesters: 0

Stars: 0

3.3.0 2026-04-01 07:18 UTC

This package is auto-updated.

Last update: 2026-04-01 07:18:47 UTC


README

GitHub Workflow Status Latest Version on Packagist Software License Total Downloads

Opinionated PHP-CS-Fixer configuration with custom fixers and presets for modern PHP projects. Enforces strict coding standards, naming conventions, and architectural patterns.

PHPDoc presets also include an 80-column docblock prose wrapper so long descriptions stay readable without relying on manual formatting. The Standard preset removes @author tags by default while still allowing explicit opt-in to the legacy author-tag fixer. It also removes @version tags by default while still allowing explicit opt-in to the legacy version-tag fixer. It removes the file-level license header by default while still allowing explicit opt-in to the legacy header_comment rule.

Requirements

Requires PHP 8.4+

Installation

composer require cline/coding-standard --dev

Documentation

  • Basic Usage - Getting started with configuration and running fixers
  • Custom Fixers - Architecture and naming convention fixers
  • Presets - Standard, PHPDoc, PHPUnit, and Ordered rule presets

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please use the GitHub security reporting form rather than the issue queue.

Credits

License

The MIT License. Please see License File for more information.