e-lodgy/coding-standard
E-Lodgy’s shared Easy Coding Standard (ECS) configuration for PHP projects. Install via Composer, import the provided ecs.php, and apply consistent formatting and code style rules across your src, tests, and config files.
Coding standard configuration used by E-Lodgy.
$ composer require --dev e-lodgy/coding-standard
ecs.php:$config->import('vendor/e-lodgy/coding-standard/ecs.php');
use Symplify\EasyCodingStandard\Config\ECSConfig;
return static function (ECSConfig $config): void {
$config->import('vendor/e-lodgy/coding-standard/ecs.php');
$config->paths([
__DIR__ . '/src', // Your project path
__DIR__ . '/tests', // Your project test paths
__DIR__ . '/ecs.php', // Your own ecs config file
]);
};
How can I help you explore Laravel packages today?