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

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

prezly/code-style
=================

Prezly Code style configurations

v6.0.0(1y ago)4136.8k↓21.2%[1 PRs](https://github.com/prezly/code-style/pulls)2MITJavaScriptPHP &gt;=7.1CI passing

Since Nov 1Pushed 1y ago3 watchersCompare

[ Source](https://github.com/prezly/code-style)[ Packagist](https://packagist.org/packages/prezly/code-style)[ RSS](/packages/prezly-code-style/feed)WikiDiscussions main Synced 1mo ago

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

Prezly code style configurations
================================

[](#prezly-code-style-configurations)

PHP Code Style checker (and fixer) is built with [Easy-Coding-Standard](https://github.com/symplify/easy-coding-standard).

### Usage

[](#usage)

1. (Optional) Add prefixed ECS CLI tool into your composer requirements (if you're not a fan of resolving conflicts with enormous dependencies list of `simplify/easy-coding-standard`).

    ```
    composer require --dev symplify/easy-coding-standard-prefixed
    ```
2. Link prezly/code-style repo as composer dependency

    ```
    composer require prezly/code-style:~4.0
    ```
3. Include the provided configuration into your project.

    Simply create an *ecs.php* file in your project root and include the *ecs.php* provided by this package into it.

    ```
