PHPackages                             theseoframework/wpcs-tsf - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. theseoframework/wpcs-tsf

ActivePhpcodesniffer-standard[PSR &amp; Standards](/categories/psr-standards)

theseoframework/wpcs-tsf
========================

Modified (for TSF) PHP\_CodeSniffer rules (sniffs) to enforce WordPress and TSF coding conventions.

v1.2.0(3y ago)0552MITPHPPHP &gt;=7.0

Since Aug 23Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/theseoframework/wpcs-tsf)[ Packagist](https://packagist.org/packages/theseoframework/wpcs-tsf)[ RSS](/packages/theseoframework-wpcs-tsf/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (2)

WPCS for TSF files via Composer and phpcs
=========================================

[](#wpcs-for-tsf-files-via-composer-and-phpcs)

This package helps you validate your PHP files against WordPress coding standards, as used for The SEO Framework product family.

This package primarily relies on [WordPress/WordPress-Coding-Standards](https://github.com/WordPress/WordPress-Coding-Standards), with added sniffs used in development for TSF.

Installation
------------

[](#installation)

1. Open Terminal.
2. `cd` to folder you want to install `theseoframework/wcps-tsf`.
3. Enter: `composer create-project theseoframework/wpcs-tsf`

Updating
--------

[](#updating)

1. Open Terminal.
2. `cd` to root folder where this project's `composer.json` resides.
3. Enter: `composer update`.

Usage (VScode)
--------------

[](#usage-vscode)

1. Download/install PHP on your drive.
2. Install the [phpcs VScode extension by Ioannis Kappas](https://marketplace.visualstudio.com/items?itemName=ikappas.phpcs) (more instructions in link).

### Required VScode config (example for Windows)

[](#required-vscode-config-example-for-windows)

*Unlisted settings are optional.*

```
{
    "php.validate.executablePath": "C:\\your-php-installation-folder\\php.exe",
    "phpcs.executablePath": "C:\\the-folder-you-ran-composer-for-this-project\\wpcs-tsf\\vendor\\bin\\phpcs.bat",
    "phpcs.standard": "TSF",
    "phpcs.errorSeverity": 1,
    "phpcs.warningSeverity": 1,
}
```

Issues
------

[](#issues)

On Windows, PHP might not be recognized as an internal or external command.

For this, you need to [set PHP to your PATH environmental variable](https://stackoverflow.com/questions/31291317/php-is-not-recognized-as-an-internal-or-external-command-in-command-prompt/31291404#31291404) at:

- (enter this in the address bar at WLK+E) `Control Panel\System and Security\System`
    - `Advanced system settings`.

But, it's probably easier to [install XAMPP](https://www.apachefriends.org/index.html), which should take care of this for you.

Be sure to restart VScode when you're done setting the `PATH` variable.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance48

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~331 days

Total

4

Last Release

1098d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7662236?v=4)[Sybre Waaijer](/maintainers/sybrew)[@sybrew](https://github.com/sybrew)

---

Top Contributors

[![sybrew](https://avatars.githubusercontent.com/u/7662236?v=4)](https://github.com/sybrew "sybrew (23 commits)")

---

Tags

standardsphpcswordpresstsf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/theseoframework-wpcs-tsf/health.svg)

```
[![Health](https://phpackages.com/badges/theseoframework-wpcs-tsf/health.svg)](https://phpackages.com/packages/theseoframework-wpcs-tsf)
```

###  Alternatives

[phpcompatibility/php-compatibility

A set of sniffs for PHP\_CodeSniffer that checks for PHP cross-version compatibility.

2.3k74.3M1.3k](/packages/phpcompatibility-php-compatibility)[automattic/vipwpcs

PHP\_CodeSniffer rules (sniffs) to enforce WordPress VIP minimum coding conventions

25510.2M145](/packages/automattic-vipwpcs)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[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)[woocommerce/woocommerce-sniffs

WooCommerce sniffs

496.8M42](/packages/woocommerce-woocommerce-sniffs)

PHPackages © 2026

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