PHPackages                             tarosky/coding-standards - 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. tarosky/coding-standards

ActivePhpcodesniffer-standard[Utility &amp; Helpers](/categories/utility)

tarosky/coding-standards
========================

Tarosky Coding Standards for WordPress projects, using PHP\_CodeSniffer ruleset.

0.2.4(2mo ago)14.7k↓50%[5 issues](https://github.com/tarosky/coding-standards/issues)GPL-2.0-or-laterCI passing

Since Nov 15Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/tarosky/coding-standards)[ Packagist](https://packagist.org/packages/tarosky/coding-standards)[ Docs](https://github.com/tarosky/coding-standards)[ RSS](/packages/tarosky-coding-standards/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (6)Versions (31)Used By (0)

Tarosky Coding Standards
========================

[](#tarosky-coding-standards)

Tarosky coding standards

インストール
------

[](#インストール)

Composer でインストールします。

```
composer require --dev tarosky/coding-standards

```

最後に下記のような確認メッセージが表示される場合は、 `y` を入力してください。

> dealerdirect/phpcodesniffer-composer-installer contains a Composer plugin which is currently not in your allow-plugins config. See Do you trust "dealerdirect/phpcodesniffer-composer-installer" to execute code and wish to enable it now? (writes "allow-plugins" to composer.json) \[y,n,d,?\]

インストールが完了した `composer.json` には下記のようになっているはずです。

```
{
	"require-dev": {
		// ... 他のパッケージ
		"tarosky/coding-standards": "^1.0"
	},
	"config": {
		"allow-plugins": {
			"dealerdirect/phpcodesniffer-composer-installer": true
		}
	}
}
```

使い方
---

[](#使い方)

コマンドで実行する場合は、以下のようにします。

```
./vendor/bin/phpcs --standard=Tarosky .

```

`composer.json` にスクリプトを設定しておくことで、より簡単なコマンドで実行ができます。 下記の例では `composer lint` で phpcs を使ったコードチェックを、 `composer fix` で phpcbf を使った自動修正を実行できます。

```
"scripts": {
	"lint": "phpcs --standard=Tarosky .",
	"fix": "phpcbf --standard=Tarosky ."
},
```

さらに、`composer lint` は GitHub Actions 等のCIツールを利用して、コミット時やプルリクエスト時に必ず実行されるようにしておくと、開発チーム全体でコードチェック漏れを防ぐことができます。

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance67

Regular maintenance activity

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.1% 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.

###  Release Activity

Cadence

Every ~157 days

Recently: every ~131 days

Total

6

Last Release

63d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d7db34fa33f3a16d43921df4ef62ce53fd5f82501f6a7eef4c2f0b71af82941?d=identicon)[waviaei](/maintainers/waviaei)

---

Top Contributors

[![waviaei](https://avatars.githubusercontent.com/u/1564991?v=4)](https://github.com/waviaei "waviaei (54 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")[![fumikito](https://avatars.githubusercontent.com/u/84587?v=4)](https://github.com/fumikito "fumikito (2 commits)")

### Embed Badge

![Health badge](/badges/tarosky-coding-standards/health.svg)

```
[![Health](https://phpackages.com/badges/tarosky-coding-standards/health.svg)](https://phpackages.com/packages/tarosky-coding-standards)
```

###  Alternatives

[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)[humanmade/coding-standards

Human Made Coding Standards

161424.0k49](/packages/humanmade-coding-standards)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[infinum/eightshift-coding-standards

Eightshift WordPress Coding Standards

1785.2k3](/packages/infinum-eightshift-coding-standards)[syde/phpcs

Syde PHP coding standards for WordPress projects.

1019.7k7](/packages/syde-phpcs)[bjornjohansen/wp-pre-commit-hook

Pre-commit hook for WordPress projects

118.8k3](/packages/bjornjohansen-wp-pre-commit-hook)

PHPackages © 2026

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