PHPackages                             hitechnix/php-cs-fixer - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hitechnix/php-cs-fixer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hitechnix/php-cs-fixer
======================

Automatically configuration PHP CS Fixer for projects.

v3.0.0(2y ago)28822BSD-3-ClausePHPPHP ^8.0

Since Jan 30Pushed 2y agoCompare

[ Source](https://github.com/hitechnix/php-cs-fixer)[ Packagist](https://packagist.org/packages/hitechnix/php-cs-fixer)[ RSS](/packages/hitechnix-php-cs-fixer/feed)WikiDiscussions main Synced 1mo ago

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

PHP CS Fixer Config
===================

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

This repository provides a base configuration for [`friendsofphp/php-cs-fixer`](http://github.com/FriendsOfPHP/PHP-CS-Fixer), which we use to verify and enforce a single coding standard for PHP code.

### 📦 Requirements

[](#-requirements)

The package requires PHP 8.0+ and follows the FIG standard PSR-4 to ensure a high level of interoperability between shared PHP code.

### 📋 Features

[](#-features)

- Defining your rules.
- Sharing your rules.
- Minimize risk rules.
- Scaffolding the repository.
- And much more!

### 🔧 Installation

[](#-installation)

Install the package with the below command:

```
composer require hitechnix/php-cs-fixer
```

### 📝 Usage

[](#-usage)

Now that the package is installed, create a configuration file called `.php_cs`, `.php_cs.php` or `.php-cs-fixer.php` at the root of your project with the following contents:

```
