PHPackages                             schwarzer/php-code-style - 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. schwarzer/php-code-style

ActiveLibrary

schwarzer/php-code-style
========================

Schwarzer IT's shared PHP style rules for PHP-CS-Fixer

v3.0.0(4y ago)14881MITPHPPHP ^7.4|^8.0

Since Jun 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/SchwarzerIT/php-code-style)[ Packagist](https://packagist.org/packages/schwarzer/php-code-style)[ RSS](/packages/schwarzer-php-code-style/feed)WikiDiscussions master Synced 1w ago

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

Installation
============

[](#installation)

Require this package.

`composer require "schwarzer/php-code-style" --dev`

Using this package
==================

[](#using-this-package)

Create a PHP-CS-Fixer dist file.

`touch .php-cs-fixer.dist.php`

Minimum Setup
-------------

[](#minimum-setup)

Add this to your `.php-cs-fixer.dist.php` file.

```
