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

ActiveLibrary

liveintent/php-cs-fixer
=======================

LiveIntent code style rules for php-cs-fixer

v3.0.1(1y ago)015.3k—0%PHPPHP ^8.0|^8.1

Since Apr 22Pushed 1y ago4 watchersCompare

[ Source](https://github.com/LiveIntent/php-cs-fixer)[ Packagist](https://packagist.org/packages/liveintent/php-cs-fixer)[ Docs](https://github.com/liveintent/php-cs-fixer)[ RSS](/packages/liveintent-php-cs-fixer/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (6)Versions (15)Used By (0)

🍂 LiveIntent PHP code style rules
=================================

[](#-liveintent-php-code-style-rules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/98be3e7c6def25d5bc5c5f33a883c1844bd73888cafa1ae19a45336055c1c7c4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c697665696e74656e742f7068702d63732d66697865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/liveintent/php-cs-fixer)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ab5d36fcd47b6b07ca8e60f2a635a74bc15832ccec8da1d412cb783862d4d7f9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6c697665696e74656e742f7068702d63732d66697865722f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/liveintent/php-cs-fixer/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/c7074165e6dafa8d72749b31866dab384ea1d21082b49b006e160b186f0769da/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6c697665696e74656e742f7068702d63732d66697865722f72756e2d6c696e743f6c6162656c3d636f64652532307374796c65)](https://github.com/liveintent/php-cs-fixer/actions?query=workflow%3Arun-lint+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/b6f03c16a50dbeabf621c082ce7bb44fd768375b63c3ee4eced56e7022fe046c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c697665696e74656e742f7068702d63732d66697865722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/liveintent/php-cs-fixer)

This package contains a code style linter for LiveIntent PHP projects. Under the hood it simply wraps [php-cs-fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer), configures it with our agreed rule set, and adds some of our own custom rules.

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

[](#installation)

You can install the package via composer:

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

Usage
-----

[](#usage)

Create a `.php-cs-fixer.dist.php` file at the root of your project with the following contents:

```
