chubbyphp/chubbyphp-dev-helper

A dev helper which provides coding standards and quality settings.

Maintainers

Package info

github.com/chubbyphp/chubbyphp-dev-helper

pkg:composer/chubbyphp/chubbyphp-dev-helper

Transparency log

Statistics

Installs: 130 244

Dependents: 38

Suggesters: 0

Stars: 1

Open Issues: 0

2.1.3 2026-07-05 18:29 UTC

This package is auto-updated.

Last update: 2026-07-05 18:30:20 UTC


README

Latest Stable Version Total Downloads Monthly Downloads

Description

A dev helper which provides coding standards and quality settings.

Requirements

  • php: ^8.3
  • friendsofphp/php-cs-fixer: ^3.95.11

Installation

Through Composer as chubbyphp/chubbyphp-dev-helper.

composer require --dev chubbyphp/chubbyphp-dev-helper dev-master

Usage

PHP-CS-FIXER

<?php

declare(strict_types=1);

$finder = PhpCsFixer\Finder::create()
    ->files()
    ->name('*.php')
    ->in(__DIR__ . '/src')
    ->in(__DIR__ . '/tests')
;

/** @var array $config */
$config = require __DIR__ . '/vendor/chubbyphp/chubbyphp-dev-helper/phpcs.php';

return (new PhpCsFixer\Config)
    ->setUnsupportedPhpVersionAllowed(true)
    ->setIndent($config['indent'])
    ->setLineEnding($config['lineEnding'])
    ->setRules($config['rules'])
    ->setRiskyAllowed($config['riskyAllowed'])
    ->setFinder($finder)
;

Copyright

2026 Dominik Zogg