Registry / testing / wiremock-php-wiremock-php

wiremock-php-wiremock-php

JSON →
library2.35.4phppackagistunverified

PHP API for WireMock JSON interface

composer require wiremock-php/wiremock-php
INSTALL
IMPORT
SIG · WIREMOCK-PHP-WIREM
W
wiremock-php-wiremock-php
testingphpv2.35.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WireMockClient
use WireMock\Client\WireMockClient;

Create a stub for a GET endpoint

use WireMock\Client\WireMockClient; $client = new WireMockClient('http://localhost:8080'); $client->stubFor( $client->get('/api/resource') ->willReturn($client->aResponse()->withStatus(200)) );
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.35.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
30
OpenAI (training)
1
Resources
wiremock-php-wiremock-php — pip install wiremock-php-wiremock-php · libregistry