Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Wiremock Bundle

Wiremock Bundle Laravel Package

nicolasguilloux/wiremock-bundle

Symfony bundle that integrates WireMock into your test suite, letting you start stub HTTP services, define request/response mappings, and verify outgoing calls so functional tests run against realistic APIs without hitting external systems.

View on GitHub
Deep Wiki
Context7

WireMockBundle integrates the WireMock HTTP mock server into Symfony applications, letting you stub external HTTP APIs so functional and integration tests run against deterministic, isolated responses instead of live third-party services. It wires WireMock into the Symfony test lifecycle, so the server starts and stops alongside your test suite and mocks are reset between tests.

The bundle is aimed at teams already using WireMock who want its stubbing power without leaving the Symfony ecosystem. It is a small, focused package (low adoption, so expect to read the source), best suited to projects that need realistic HTTP fixtures for service-level tests.

  • Bundled configuration for the WireMock server and its port
  • Lifecycle hooks that boot and shut down WireMock with your tests
  • Helpers for registering and resetting stub mappings
  • Usable from functional tests and CI pipelines alike
Frequently asked questions about Wiremock Bundle
What is nicolasguilloux/wiremock-bundle used for?
It is a Symfony bundle that integrates WireMock so you can stub and simulate HTTP services in your PHP test suite. The goal is faster, more reliable integration tests that do not depend on real external APIs. It is Symfony-oriented rather than a Laravel-native package, so Laravel teams should confirm how they would wire it into the framework.
How do I install nicolasguilloux/wiremock-bundle?
Run composer require nicolasguilloux/wiremock-bundle, typically with --dev because this is test tooling. The captured 1.0.0 release has no documented install steps, PHP floor, or dependency constraints, so inspect composer.json before adding it to a locked project. Expect to provide a WireMock server that your test suite can reach.
Does nicolasguilloux/wiremock-bundle work with Laravel?
It is described as a Symfony bundle, and there is no evidence in the captured metadata of a Laravel ServiceProvider, facade, or illuminate support constraints. Laravel auto-discovery therefore should not be assumed, and a compatibility spike is needed before adoption. For many Laravel-only HTTP mocking needs, the framework's built-in Http::fake is a simpler option.
Which Laravel and PHP versions are supported by wiremock-bundle?
The captured metadata does not include composer.json constraints, a PHP version floor, or any statement about Laravel 10, 11, or 12 support. The 1.0.0 tag alone does not prove compatibility with any framework version. Check the repository's composer.json and test matrix before treating it as compatible with your runtime.
Do I need Java or Docker to run WireMock with this bundle?
WireMock itself normally runs as a separate Java process, commonly from a standalone JAR or a Docker image. The bundle's role is to help configure and talk to that server from your Symfony test setup. Plan for a WireMock service in local development and CI rather than expecting an in-process PHP mock.
Can I use wiremock-bundle to mock third-party APIs in CI?
Yes, that is the intended pattern: stub the external HTTP service with WireMock and let your tests call the stubs instead of real APIs. You will need a WireMock instance available in the CI job, for example as a service container. This can make integration tests faster and less flaky, but the undocumented setup must be proven in your pipeline.
How does wiremock-bundle compare to Laravel Http::fake or other mocking tools?
Laravel's Http::fake and Http::preventStrayRequests are built in, require no extra service, and cover most Laravel HTTP client tests. Alternatives include php-http/mock-client, Symfony's MockHttpClient, or running WireMock standalone without this bundle. Choose this bundle only if WireMock-style stub management and a real HTTP boundary are important to your test strategy.
Is nicolasguilloux/wiremock-bundle production-ready and actively maintained?
The captured assessment shows only a first 1.0.0 release, no changelog detail, and no documentation beyond the package description. It appears to be a single-author first release, so there is no evidence yet of release cadence, responsiveness, or CVE handling. Treat maintenance and API stability as unproven until you inspect the repository history and issue activity.
What license does nicolasguilloux/wiremock-bundle use?
The license is not stated in the metadata provided for this evaluation. Check the repository's LICENSE file and the license field in composer.json before distributing or relying on the package commercially. Do not assume MIT or any other permissive license until it is confirmed.
How should a Laravel team evaluate wiremock-bundle before adopting it?
Run a short, time-boxed spike in a throwaway branch: inspect composer.json, README, tests, and license, then install it as a dev dependency in a sandbox clone. Confirm whether anything auto-registers, whether global config or routing is affected, and whether a WireMock server can run in your CI. Finish with a smoke test and an explicit adopt, defer, or reject decision based on dependency weight and maintenance signals.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle