PHPackages                             woocommerce/remote-specs-validation - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. woocommerce/remote-specs-validation

ActiveLibrary[Testing &amp; Quality](/categories/testing)

woocommerce/remote-specs-validation
===================================

Remote specs testing suite

1.0.2(1y ago)2295GPL-3.0-or-laterPHP

Since Feb 19Pushed 1y ago72 watchersCompare

[ Source](https://github.com/woocommerce/package-remote-specs-validation)[ Packagist](https://packagist.org/packages/woocommerce/remote-specs-validation)[ RSS](/packages/woocommerce-remote-specs-validation/feed)WikiDiscussions trunk Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (0)

Remote Specification Validation
===============================

[](#remote-specification-validation)

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

[](#installation)

```
composer require woocommerce/remote-specs-validation
```

Available Schemas
-----------------

[](#available-schemas)

FilenameEndpointBundleremote-inbox-notification.jsonremote-inbox-notificationpayment-gateway-suggestions.jsonpayment-gateway-suggestionsobw-free-extensions.jsonobw-free-extensionswc-pay-promotions.jsonwc-pay-promotionsshipping-partner-suggestions.jsonshipping-partner-suggestionsWorking with Schema
-------------------

[](#working-with-schema)

If it's your first time working with JSON Schema, we highly recommend reading  first.

1. Open a schema file from `schemas` directory.
2. Make changes.
3. Run `./bin/build schemas/:name-of-schema-file`
4. Bundled schema file will be saved in `bundles` directory.

Validation Examples
-------------------

[](#validation-examples)

```
use Automattic\WooCommerce\Tests\RemoteSpecsValidation\RemoteSpecValidator;
$validator = RemoteSpecValidator::create_from_bundle( 'remote-inbox-notification' );

$spec = json_decode( file_get_contents(":your-remote-inbox-noficiation-json") );

$result = $validator->validate( $spec );

if ( !$result->is_valid() ) {
	var_dump( $result->get_errors() );
} else {
	var_dump('everything looks good!');
}
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~101 days

Total

3

Last Release

617d ago

### Community

Maintainers

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

---

Top Contributors

[![chihsuan](https://avatars.githubusercontent.com/u/4344253?v=4)](https://github.com/chihsuan "chihsuan (4 commits)")[![moon0326](https://avatars.githubusercontent.com/u/4723145?v=4)](https://github.com/moon0326 "moon0326 (1 commits)")[![psealock](https://avatars.githubusercontent.com/u/1922453?v=4)](https://github.com/psealock "psealock (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/woocommerce-remote-specs-validation/health.svg)

```
[![Health](https://phpackages.com/badges/woocommerce-remote-specs-validation/health.svg)](https://phpackages.com/packages/woocommerce-remote-specs-validation)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)[phpstan/phpstan-symfony

Symfony Framework extensions and rules for PHPStan

78768.9M1.5k](/packages/phpstan-phpstan-symfony)

PHPackages © 2026

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