Registry /
testing / wiremock-php-wiremock-php
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.