PHPackages                             chromatix/phpcs-config-chromatix-no-wordpress - 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. chromatix/phpcs-config-chromatix-no-wordpress

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

chromatix/phpcs-config-chromatix-no-wordpress
=============================================

Like phpcs-config-chromatix, but without the rules for things that can only be used in the WordPress context.

v0.0.4(8y ago)11.6kMIT

Since Nov 2Pushed 8y ago4 watchersCompare

[ Source](https://github.com/ChromatixAU/phpcs-config-chromatix-no-wordpress)[ Packagist](https://packagist.org/packages/chromatix/phpcs-config-chromatix-no-wordpress)[ Docs](https://github.com/ChromatixAU/phpcs-config-chromatix-no-wordpress)[ RSS](/packages/chromatix-phpcs-config-chromatix-no-wordpress/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

phpcs-config-chromatix-no-wordpress
===================================

[](#phpcs-config-chromatix-no-wordpress)

Like [phpcs-config-chromatix](https://github.com/ChromatixAU/phpcs-config-chromatix), but without the rules for things that can only be used in the WordPress context.

**This config is still in development.** If you have suggestions for improvement or if you disagree with anything this config makes you do, feel free to file an issue. If it is not specific to this config, please file upstream (such as at [phpcs-config-chromatix](https://github.com/ChromatixAU/phpcs-config-chromatix)).

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

[](#installation)

Install globally to use on any project:

```
composer global install chromatix/phpcs-config-chromatix-no-wordpress

```

Install locally to one project:

```
composer install chromatix/phpcs-config-chromatix-no-wordpress

```

You'll also need to have [phpcs](https://www.squizlabs.com/php-codesniffer) installed in the same manner, and [set your phpcs `installed_paths`](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Configuration-Options#setting-the-installed-standard-paths) like follows:

```
vendor/bin/phpcs --config-set installed_paths ../../chromatix,../../wp-coding-standards/wpcs

```

It's probably ideal to do this in a [`post-install-cmd` script in your `composer.json`](https://getcomposer.org/doc/articles/scripts.md); see this package's [composer.json](composer.json) for an example of a cross-platform way to do so (it might look a bit complicated, but unfortunately is required... at least in our testing so far, anyway!).

Usage
-----

[](#usage)

Add this to your `phpcs.xml` file:

```

```

Then:

- **Using globally?**

    Run `phpcs *.php`
- **Using locally?**

    Run `vendor/bin/phpcs *.php`

    Alternatively, you'll probably find it useful to add a script to your `composer.json`:

    ```
    "scripts": {
      "lint": "find . -type d \\( -name '.git' -o -name 'vendor' -o -name 'node_modules' \\) -prune -o -type f -name '*.php' -print | xargs vendor/bin/phpcs"
    }

    ```

    Then you can just run `composer lint`.

See also
--------

[](#see-also)

- [phpcs-config-chromatix](https://github.com/ChromatixAU/phpcs-config-chromatix)
- [eslint-config-chromatix](https://github.com/ChromatixAU/eslint-config-chromatix)
- [stylelint-config-chromatix](https://github.com/ChromatixAU/stylelint-config-chromatix)

License
-------

[](#license)

[MIT](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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 ~7 days

Total

4

Last Release

3095d ago

### Community

Maintainers

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

---

Top Contributors

[![tdmalone](https://avatars.githubusercontent.com/u/900469?v=4)](https://github.com/tdmalone "tdmalone (2 commits)")

---

Tags

chromatixphpphpcsphpcs-configwordpressphpphpcswordpressphpcs-configchromatix

### Embed Badge

![Health badge](/badges/chromatix-phpcs-config-chromatix-no-wordpress/health.svg)

```
[![Health](https://phpackages.com/badges/chromatix-phpcs-config-chromatix-no-wordpress/health.svg)](https://phpackages.com/packages/chromatix-phpcs-config-chromatix-no-wordpress)
```

###  Alternatives

[woocommerce/woocommerce-sniffs

WooCommerce sniffs

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

PHPackages © 2026

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