Coding Standard

Downloads

Set of rules for PHP_CodeSniffer and PHP-CS-Fixer used by Symplify projects.

They run best with EasyCodingStandard.

Install

composer require symplify/coding-standard --dev
composer require symplify/easy-coding-standard --dev
  1. Run with ECS:
# ecs.php
+use Symplify\EasyCodingStandard\ValueObject\Set\SetList;

 return static function (ContainerConfigurator $containerConfigurator): void {
+    $containerConfigurator->import(SetList::SYMPLIFY);

Rules Overview

  • Rules Overview

Contribute

The sources of this package are contained in the symplify monorepo. We welcome contributions for this package at symplify/symplify.

Coding Standard

[READ-ONLY] 20+ Coding Standard checkers for PHP projects with focus on Clean Architecture

Coding Standard Info

⭐ Stars 280
🔗 Source Code github.com
🕒 Last Update 4 months ago
🕒 Created 6 years ago
🐞 Open Issues 0
➗ Star-Issue Ratio Infinity
😎 Author symplify