PHPackages                             jedkirby/php-cs - 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. jedkirby/php-cs

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

jedkirby/php-cs
===============

Coding styling for PHP based projects.

1.1.0(7y ago)03.9k2MITPHPPHP &gt;=5.6.4

Since Jan 7Pushed 7y agoCompare

[ Source](https://github.com/jedkirby/php-cs)[ Packagist](https://packagist.org/packages/jedkirby/php-cs)[ Docs](https://jedkirby.com)[ RSS](/packages/jedkirby-php-cs/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (10)Used By (2)

PHP Code Styling
----------------

[](#php-code-styling)

[![Author](https://camo.githubusercontent.com/9c59e3b7cef70e55f38bf516bbdbfdd2a7888118928a81e530a0d1825e541935/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d406a65646b697262792d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/jedkirby)[![Packagist](https://camo.githubusercontent.com/b13dccbe761fd91081941ddd7b5ba850ade42e579f24f2f5be28d5e51d7b39e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a65646b697262792f7068702d63732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jedkirby/php-cs)[![Packagist](https://camo.githubusercontent.com/8587d0c2a1d6ad787e51a52c8449d7276989eea1a4db1f69ce84a73454cb31e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a65646b697262792f7068702d63732e7376673f7374796c653d666c61742d737175617265)](https://github.com/jedkirby/php-cs/blob/master/LICENSE)

Simply because I want my code styles to be consistent across projects.

Installation
------------

[](#installation)

This package can be installed via [Composer](https://getcomposer.org):

```
$ composer require jedkirby/php-cs --dev
```

It requires **PHP &gt;= 5.6.4**.

Usage
-----

[](#usage)

After installing, copy the following boilerplate configuration into a file named `.php_cs` in the root of your project, remembering to modify the finder directories and/or files:

```
