PHPackages                             bernskioldmedia/bm-wp-devtools - 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. bernskioldmedia/bm-wp-devtools

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

bernskioldmedia/bm-wp-devtools
==============================

Development tools that we use for our WordPress projects.

02151Shell

Since Nov 25Pushed 4y ago1 watchersCompare

[ Source](https://github.com/bernskioldmedia/bm-wp-devtools)[ Packagist](https://packagist.org/packages/bernskioldmedia/bm-wp-devtools)[ RSS](/packages/bernskioldmedia-bm-wp-devtools/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (1)

BM WordPress Development Tools
==============================

[](#bm-wordpress-development-tools)

These are a set of development tools that we use for WordPress development in our plugins and themes.

The tools consists of:

- PHPStan and WordPress rules
- PHPCS ruleset
- PHPCS Fixer

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

[](#installation)

To use this in your project, require this package as a composer dev-dependency:

```
composer require bernskioldmedia/bm-wp-devtools --dev
```

Add the following scripts to your composer.json:

```
{
  "scripts": {
	"lint": "php-cs-fixer fix -v",
	"test:cs": "phpcs-wp",
	"test:types": "phpstan analyse --ansi --memory-limit=-1",
	"test:lint": "php-cs-fixer fix -v --dry-run",
	"test": [
	  "@test:lint",
	  "@test:types"
	]
  }
}
```

Configure PHP Storm
-------------------

[](#configure-php-storm)

### PHPCS Inspections

[](#phpcs-inspections)

1. go to `Project Settings > PHP > Code Sniffer` and set your phpcs executable. You should use installed in bin-dir.
2. go to Project `Settings > Inspections > PHP > PHP Code Sniffer validation` and set Custom coding standard.
3. use path selection ("...") to find the ruleset at `vendor/bernskioldmedia/bm-wp-devtools/phpcs/ruleset.xml`

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

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/51986177e3badf5ae6cd008a309befe4ec88264bd518c1a623bd33f5cebc0fc5?d=identicon)[bernskiold](/maintainers/bernskiold)

---

Top Contributors

[![ErikBernskiold](https://avatars.githubusercontent.com/u/1166728?v=4)](https://github.com/ErikBernskiold "ErikBernskiold (8 commits)")

### Embed Badge

![Health badge](/badges/bernskioldmedia-bm-wp-devtools/health.svg)

```
[![Health](https://phpackages.com/badges/bernskioldmedia-bm-wp-devtools/health.svg)](https://phpackages.com/packages/bernskioldmedia-bm-wp-devtools)
```

###  Alternatives

[pingpong/themes

Laravel Themes

3023.7k2](/packages/pingpong-themes)

PHPackages © 2026

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