buckhamduffy / coding-standards
There is no license information available for the latest version (v8.1.0) of this package.
v8.1.0
2026-07-03 00:01 UTC
Requires
- php: >=8.3.0
- captainhook/captainhook: ^5.25.2
- larastan/larastan: ^3.9.3
- laravel/framework: ^12.7 || ^13.0
- phpstan/phpstan: ^2.1.32
- symfony/process: ^7.3
- symplify/easy-coding-standard: ^12.5.18
Requires (Dev)
- captainhook/hook-installer: ^1.0.4
- phpunit/phpunit: ^11.5.21
- spatie/laravel-ray: ^1.43.6
- squizlabs/php_codesniffer: ^3.13
This package is auto-updated.
Last update: 2026-07-07 22:07:28 UTC
README
Usage
Run composer require --dev buckhamduffy/coding-standards
ECS Example
ecs.php
<?php declare(strict_types=1); use Symplify\EasyCodingStandard\Configuration\ECSConfigBuilder; use PHP_CodeSniffer\Standards\Generic\Sniffs\CodeAnalysis\EmptyStatementSniff; /** @var ECSConfigBuilder $config */ $config = require __DIR__ . '/vendor/buckhamduffy/coding-standards/ecs.php'; $config ->withParallel() ->withSpacing(indentation: Option::INDENTATION_SPACES, lineEnding: "\n"); return $config;
PHPStan
phpstan.neon
includes: - ./vendor/buckhamduffy/coding-standards/extension.neon
CaptainHook
CaptainHook can be used to install custom made commit hooks
composer require --dev captainhook/hook-installer
cp vendor/buckhamduffy/coding-standards/captainhook.json captainhook.json