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

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

timacdonald/php-style
=====================

Opinionated styling for my projects

46.7k31PHP

Since Oct 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/timacdonald/php-style)[ Packagist](https://packagist.org/packages/timacdonald/php-style)[ RSS](/packages/timacdonald-php-style/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (1)

Opinionated styling rules for PHP-CS-Fixer
==========================================

[](#opinionated-styling-rules-for-php-cs-fixer)

[![CI](https://github.com/timacdonald/php-style/workflows/CI/badge.svg)](https://github.com/timacdonald/php-style/workflows/CI/badge.svg)

These are the rules applied across my personal projects and open source packages.

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

[](#installation)

You can install using [composer](https://getcomposer.org/) from [Packagist](https://packagist.org/packages/timacdonald/php-style).

```
$ composer require timacdonald/php-style:dev-master --dev

```

Basic usage
-----------

[](#basic-usage)

In your `.php_cs.dist` config file...

```
