cline/php-cs-fixer
最新稳定版本:3.3.1
Composer 安装命令:
composer require cline/php-cs-fixer
包简介
Centralized coding standards for Cline projects using PHP-CS-Fixer, ECS, and Rector
README 文档
README
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.
统计信息
- 总下载量: 7.27k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-09-15