PHPackages                             webproject-xyz/php-cs-fixer-config - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. webproject-xyz/php-cs-fixer-config

ActiveLibrary

webproject-xyz/php-cs-fixer-config
==================================

The WebProject php-cs-fixer-config

1.0.0(1mo ago)0107↓66.7%[1 issues](https://github.com/WebProject-xyz/php-cs-fixer-config/issues)[2 PRs](https://github.com/WebProject-xyz/php-cs-fixer-config/pulls)1MITPHPPHP ~8.3.0 || 8.4.0 || ~8.5.0

Since Jul 17Pushed 1w agoCompare

[ Source](https://github.com/WebProject-xyz/php-cs-fixer-config)[ Packagist](https://packagist.org/packages/webproject-xyz/php-cs-fixer-config)[ Docs](https://www.webproject.xyz)[ RSS](/packages/webproject-xyz-php-cs-fixer-config/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (6)Versions (2)Used By (1)

php-cs-fixer-config
===================

[](#php-cs-fixer-config)

[![CI](https://github.com/WebProject-xyz/php-cs-fixer-config/actions/workflows/ci.yml/badge.svg)](https://github.com/WebProject-xyz/php-cs-fixer-config/actions/workflows/ci.yml)[![Latest Stable Version](https://camo.githubusercontent.com/537024fa987e77a073aacfa95e8941d55ed7a02bfe3f20c04f1d227ce13f19c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77656270726f6a6563742d78797a2f7068702d63732d66697865722d636f6e6669672e737667)](https://packagist.org/packages/webproject-xyz/php-cs-fixer-config)[![PHP Version](https://camo.githubusercontent.com/da3ea99f5bdb8973c373065bb9a8d4b601df27a90091dbe953ef0c841be46eb6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253745382e352e302d626c75652e737667)](https://www.php.net/)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)[![Codeception](https://camo.githubusercontent.com/06b51a0445b6131c524d12b3c0899b345e2cb80915d3ace43d1731e09bde6143/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f646563657074696f6e2d253545352e332d7265642e737667)](https://codeception.com/)

> **Common PHP CS Fixer configuration for WebProject projects.**

Provides a standardized, robust, and modern PHP CS Fixer configuration.

---

🚀 Key Features
--------------

[](#-key-features)

- **Preconfigured Rules:** Includes standard rule sets like `@PSR12`, `@Symfony`, `@Symfony:risky`, `@PhpCsFixer:risky`, and `@PHP8x3Migration`.
- **Parallel Execution:** Automatically detects and utilizes multiple CPU cores for faster analysis.
- **Risky Rules Enabled:** Risky refactorings are allowed by default.

---

📦 Installation
--------------

[](#-installation)

Install the package via Composer:

```
composer require --dev webproject-xyz/php-cs-fixer-config
```

### Prerequisites

[](#prerequisites)

- **PHP:** `~8.5.0`

---

🛠️ Usage
--------

[](#️-usage)

Create a `.php-cs-fixer.php` file in the root of your project:

```
