PHPackages                             themeplate/tester - 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. themeplate/tester

ActiveLibrary

themeplate/tester
=================

Common for all packages

v2.6.0(1y ago)0362↓100%20GPL-3.0-onlyPHPPHP ^7.4|^8.2

Since May 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ThemePlate/Tester)[ Packagist](https://packagist.org/packages/themeplate/tester)[ RSS](/packages/themeplate-tester/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (20)Used By (20)

ThemePlate Tester
=================

[](#themeplate-tester)

#### Available commands:

[](#available-commands)

NameDescriptionanalyseAnalyse the codesdumpDump the configsfixFix the codeslintLint the codessetupSetup the teststestRun the testsUsage
-----

[](#usage)

### composer.json

[](#composerjson)

```
{
	"name": "my/package",
	"require": {
		"php": "^7.4|^8.2"
	},
	"require-dev": {
		"themeplate/tester": "*"
	},
	"autoload-dev": {
		"psr-4": {
			"Tests\\": "tests"
		}
	}
}
```

### SampleTest.php

[](#sampletestphp)

```
namespace Tests;

use ThemePlate\Tester\Utils;

class SampleTest extends WP_UnitTestCase {
	public function test_sample() {
		$instance = new Class();

		Utils::invoke_inaccessible_method( $instance, 'method_name', array( 'arg1', 'arg2' ) );

		$value = Utils::get_inaccessible_property( $instance, 'property_name' );

		Utils::set_inaccessible_property( $instance, 'wanted_property', $value );

		// Do actual assertions
	}
}
```

### After `composer install`, run `./vendor/bin/themeplate setup`

[](#after-composer-install-run-vendorbinthemeplate-setup)

- Analyse `./vendor/bin/themeplate analyse`
- Lint `./vendor/bin/themeplate lint`
- Fix `./vendor/bin/themeplate fix`
- Test `./vendor/bin/themeplate test`

#### Dump the configs for customizations `./vendor/bin/themeplate dump`

[](#dump-the-configs-for-customizations-vendorbinthemeplate-dump)

#### Sample composer scripts

[](#sample-composer-scripts)

```
...
    "scripts": {
        "analyse": "themeplate analyse",
        "lint": "themeplate lint",
        "fix": "themeplate fix",
        "test": "themeplate test",
        "test:unit": "themeplate test --type unit",
        "test:integration": "themeplate test --type integration"
    }
...
```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance47

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity69

Established project with proven stability

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

Recently: every ~11 days

Total

18

Last Release

390d ago

Major Versions

v1.x-dev → v2.0.02022-06-08

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v2.2.0PHP ^7.4|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/91095d431958c79a7384d515efec2686ca3cd1e1e1a5a42b680309b8e855355a?d=identicon)[kermage](/maintainers/kermage)

---

Top Contributors

[![kermage](https://avatars.githubusercontent.com/u/8350223?v=4)](https://github.com/kermage "kermage (84 commits)")

---

Tags

wordpresswordpress-developmentwordpress-tests

### Embed Badge

![Health badge](/badges/themeplate-tester/health.svg)

```
[![Health](https://phpackages.com/badges/themeplate-tester/health.svg)](https://phpackages.com/packages/themeplate-tester)
```

###  Alternatives

[wp-cli/wp-cli-tests

WP-CLI testing framework

422.7M87](/packages/wp-cli-wp-cli-tests)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2021.0M276](/packages/drupal-core-dev)[drupal/coder

Coder is a library to review Drupal code.

3043.6M459](/packages/drupal-coder)[yoast/yoastcs

PHP\_CodeSniffer rules for Yoast projects

221.1M29](/packages/yoast-yoastcs)[chromatic/usher

A collection of Robo commands for use on Chromatic projects.

13534.3k1](/packages/chromatic-usher)[youwe/testing-suite

Contains Youwe's default testing packages for php.

13176.9k8](/packages/youwe-testing-suite)

PHPackages © 2026

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