PHPackages                             phuongdev89/yii2-phpcheckstyle - 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. phuongdev89/yii2-phpcheckstyle

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

phuongdev89/yii2-phpcheckstyle
==============================

Yii2 phpcheckstyle

066PHP

Since Feb 23Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 phpcheckstyle
==================

[](#yii2-phpcheckstyle)

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any deviations from the coding convention.

The tool uses the PEAR Coding Standards as the default coding convention. But it allows you to configure it to suit your coding standards.

Installation
============

[](#installation)

### Installation with Composer

[](#installation-with-composer)

```
composer require phuongdev89/yii2-phpcheckstyle

```

Add to your root `composer.json`

```
"repositories" : [
    {
        "type" : "git",
        "url" : "https://github.com/phuongdev89/phpcheckstyle"
    }
]

```

Add to `console/config/main.php`

```
'controllerMap' => [
    'coverage' => [
        'class' => \phuongdev89\phpcheckstyle\commands\CoverageController::class,
    ],
]
```

Options
=======

[](#options)

NameTypeDescriptionRequiredDefault value**$progress**boolDisplay progress file when checking If not set, default is 1Notrue**$format**string|arrayOutput format (html/text/xml/xml\_console/console/html\_console). Can be multiple formats separator by comma.Nohtml**$level**stringLevel to report Value is: INFO ERROR WARNING IGNORENoINFO**$maxErrors**intNo100**$language**stringNoen-us**$outdir**string|nullOutput directory of reportNoruntime/phpcheckstyle**$config**string|nullConfig pathNophuongdev89/phpcheckstyle/phpcheckstyle.xml**$debug**boolDebug outputNofalseUsage
=====

[](#usage)

### Scan only git modified

[](#scan-only-git-modified)

```
php yii coverage

```

or

```
php yii coverage/git

```

### Scan all project, exclude `environments` `vendor` `test`

[](#scan-all-project-exclude-environments-vendor-test)

```
php yii coverage 1

```

### Scan file or folder

[](#scan-file-or-folder)

```
php yii coverage/run frontend/controllers

```

### Scan multiple files or folders

[](#scan-multiple-files-or-folders)

```
php yii coverage/run frontend/controllers,frontend/models

```

### Scan multiple files or folders and exclude some files or folders

[](#scan-multiple-files-or-folders-and-exclude-some-files-or-folders)

```
php yii coverage/run frontend/controllers,frontend/models frontend/components,frontend/helpers

```

### Help

[](#help)

```
php yii help coverage/index
php yii help coverage/git
php yii help coverage/run

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b606411df0cf562fe1d77d5ee80c3ef2e2c34a06d93470a4127c8910132ba258?d=identicon)[phuongdev89](/maintainers/phuongdev89)

---

Top Contributors

[![phuongdev89](https://avatars.githubusercontent.com/u/7648033?v=4)](https://github.com/phuongdev89 "phuongdev89 (19 commits)")

### Embed Badge

![Health badge](/badges/phuongdev89-yii2-phpcheckstyle/health.svg)

```
[![Health](https://phpackages.com/badges/phuongdev89-yii2-phpcheckstyle/health.svg)](https://phpackages.com/packages/phuongdev89-yii2-phpcheckstyle)
```

###  Alternatives

[ferdiunal/nova-editable-field

A Laravel Nova package to make fields editable.

104.6k](/packages/ferdiunal-nova-editable-field)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
