PHPackages                             putyourlightson/ecs - 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. putyourlightson/ecs

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

putyourlightson/ecs
===================

Easy Coding Standard configurations for Craft CMS projects

015PHP

Since Jun 24Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Easy Coding Standard config for Craft CMS
=========================================

[](#easy-coding-standard-config-for-craft-cms)

Forked from  with a few modifications:

- Runs with `parallel` mode enabled.
- Sets the control structure continuation keyword to be on the next line.

```
// Before:

if ($condition) {
    // Do things
} else {
    // Do other things
}

// After:

if ($condition) {
    // Do things
}
else {
    // Do other things
}
```

To install, run the following command within your plugin or project:

```
composer require putyourlightson/ecs:dev-main --dev
```

Then add an `ecs.php` file to the root of your plugin or project:

```
