# php-cs-fixer-config **Repository Path**: baijunyao/php-cs-fixer-config ## Basic Information - **Project Name**: php-cs-fixer-config - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-10-29 - **Last Updated**: 2024-06-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # PHP CS Fixer Config Uniformly manage the code style of all projects. ## Installation Require this package with composer using the following command: ```bash composer require baijunyao/php-cs-fixer-config --dev ``` ## Usage Create *.php-cs-fixer.php* in your project root directory. ```php in(__DIR__); return (new Config())->setFinder($finder); ``` Add `.php-cs-fixer.cache` to *.gitignore* Execute the following command. ```bash vendor/bin/php-cs-fixer fix ``` ## Example - [laravel-bjyblog](https://github.com/baijunyao/laravel-bjyblog/blob/master/.php-cs-fixer.php)