awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
FriendsOfPHP avatar

FriendsOfPHP/PHP-CS-Fixer

0
View on GitHub↗
13,534 stars·1,635 forks·PHP·MIT·4 vuescs.symfony.com↗

PHP CS Fixer

PHP-CS-Fixer is a static analysis tool and code style linter designed to validate PHP code against predefined standards. It functions as a coding standard fixer that automatically detects and corrects style violations to ensure consistent formatting across a codebase.

The project serves as a syntax modernizer, providing automated tools to update legacy PHP syntax to align with newer language versions. It also allows for the creation of custom style rules when built-in standards do not meet specific requirements.

The tool covers broad capability areas including automated linting workflows and code style formatting. These processes ensure adherence to industry or organizational style guides through automated detection and correction.

Features

  • Automated Code Fixes - Automatically detects and corrects style violations in PHP code to ensure consistent formatting across the codebase.
  • PHP Formatters - Automatically adjusts PHP source code to follow consistent layout and naming rules across a project.
  • PHP Linters - Validates PHP code against predefined standards and automatically applies necessary formatting corrections.
  • Codebase Modernizers - Updates legacy PHP syntax to align with newer language versions and modern standards.
  • PHP Code Analysis - Analyzes PHP source code without execution to identify and fix syntax and styling issues.
  • Pattern-Based Lexing - Converts PHP source code into a stream of tokens to identify formatting patterns without requiring a full abstract syntax tree.
  • Token Manipulation - Manipulates source code identifiers and tokens by inserting, deleting, or replacing them while maintaining cursor state.
  • Coding Standard Compliance - Ensures PHP codebases adhere to specific industry standards and organizational style guides.
  • Transformation Rule Frameworks - Uses a framework of isolated fixing classes to perform structural code transformations based on coding standards.
  • Code Modernization Guides - Automates the process of transitioning legacy PHP codebases to modern language standards and syntax.
  • PHP Syntax Modernizers - Provides automated transformation scripts to update legacy PHP syntax to match modern language versions.
  • Incremental Code Processing - Optimizes performance by scanning for changed files and applying formatting only to those that deviate from the target style.
  • Linting Workflows - Integrates automated style checks into development pipelines to maintain clean code without manual review.
  • Tag-Based Rule Filtering - Filters the available set of fixers through a configuration file to define the active styling policy.
  • Configuration-Driven Rule Engines - Implements a rule engine that maps user-defined configurations to internal fixer classes for code transformation.
  • Plugin-Based Style Rule Extensions - Allows developers to define custom formatting logic through plugins when built-in standards are insufficient.
  • Coding Standard - Listed in the “Coding Standard” section of the Awesome Laravel Education awesome list.

Historique des stars

Graphique de l'historique des stars pour friendsofphp/php-cs-fixerGraphique de l'historique des stars pour friendsofphp/php-cs-fixer

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait friendsofphp/php-cs-fixer ?

PHP-CS-Fixer is a static analysis tool and code style linter designed to validate PHP code against predefined standards. It functions as a coding standard fixer that automatically detects and corrects style violations to ensure consistent formatting across a codebase.

Quelles sont les fonctionnalités principales de friendsofphp/php-cs-fixer ?

Les fonctionnalités principales de friendsofphp/php-cs-fixer sont : Automated Code Fixes, PHP Formatters, PHP Linters, Codebase Modernizers, PHP Code Analysis, Pattern-Based Lexing, Token Manipulation, Coding Standard Compliance.

Quelles sont les alternatives open-source à friendsofphp/php-cs-fixer ?

Les alternatives open-source à friendsofphp/php-cs-fixer incluent : squizlabs/php_codesniffer — PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files… dprint/dprint — dprint is a multi-language code formatter that applies consistent styling across various programming languages using a… carthage-software/mago — Mago is a PHP static analysis tool, linter, and code formatter. It detects type errors, dead code, and logic bugs… php-cs-fixer/php-cs-fixer — This tool is a command-line utility designed to automatically detect and correct coding standard violations in PHP… rectorphp/rector — Rector is an automated PHP refactoring and modernization tool designed to upgrade language versions and modernize… ansible/ansible-lint — ansible-lint is a static code analysis tool and linter designed to identify syntax errors and best practice violations…

Alternatives open source à PHP CS Fixer

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec PHP CS Fixer.
  • squizlabs/php_codesnifferAvatar de squizlabs

    squizlabs/PHP_CodeSniffer

    10,771Voir sur GitHub↗

    PHP_CodeSniffer is a static analysis tool, coding standard linter, and command-line validator for PHP. It scans files and directories to detect and report formatting errors and language-specific coding violations without executing the code. The project functions as an automated code formatter capable of correcting detected style and formatting violations to bring source code into compliance with defined standards. It uses token-based lexical analysis to match code patterns against rule sets, ensuring consistency across a codebase. The tool provides comprehensive capabilities for recursive fi

    PHPautomationclicoding-standards
    Voir sur GitHub↗10,771
  • dprint/dprintAvatar de dprint

    dprint/dprint

    3,795Voir sur GitHub↗

    dprint is a multi-language code formatter that applies consistent styling across various programming languages using a pluggable architecture. It functions as a unified project style management tool, a command-line interface for continuous integration style enforcement, and a Language Server Protocol implementation for real-time formatting in editors. The project is distinguished by a WebAssembly-based plugin system that loads sandboxed formatting logic from URLs or file paths. It further extends its capabilities through a process-based tool integration that wraps external command-line interf

    Rustformatter
    Voir sur GitHub↗3,795
  • carthage-software/magoAvatar de carthage-software

    carthage-software/mago

    2,867Voir sur GitHub↗

    Mago is a PHP static analysis tool, linter, and code formatter. It detects type errors, dead code, and logic bugs through advanced type inference and flow analysis, while providing a deterministic engine to rewrite source files according to style guides. The project distinguishes itself with a WebAssembly runtime that enables PHP analysis to execute entirely within a web browser, allowing results to be shared via URL. It also provides a minimal Dockerized toolchain distributed as a scratch image for consistent execution across different processor architectures. The toolset covers architectur

    Rustcode-analyzercode-stylecoding-standards
    Voir sur GitHub↗2,867
  • php-cs-fixer/php-cs-fixerAvatar de PHP-CS-Fixer

    PHP-CS-Fixer/PHP-CS-Fixer

    13,463Voir sur GitHub↗

    This tool is a command-line utility designed to automatically detect and correct coding standard violations in PHP source files. It functions as a static analysis and refactoring engine that ensures consistent project-wide formatting by applying predefined community conventions or custom organizational rules. The project distinguishes itself through a modular rule-based engine that supports both automated style correction and codebase modernization. It allows developers to update legacy syntax to align with newer language versions and testing framework requirements, facilitating the adoption

    PHPcode-standardscode-stylephp
    Voir sur GitHub↗13,463
Voir les 30 alternatives à PHP CS Fixer→