Weave Code
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

Net Mock Laravel Package

phrity/net-mock

Mocking layer for phrity/net-stream to simplify testing stream-based code. Drop-in compatible stream classes that can log all interactions via any PSR-3 logger and override behavior with callbacks. Includes PHPUnit expectation traits for asserting calls and parameters.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
janmarek/mockista 0.82 Mockista is a lightweight mocking library for PHP/Laravel that helps you create and configure test doubles quickly. Define expectations, stub methods, and verify calls with a simple, fluent API to keep unit tests fast, readable, and maintainable. 29 29 14 361 2 1.4 16.9
View on GitHub
Context7
psr-mock/http-client-implementation 0.82 Tiny PSR-18 HTTP client implementation intended for mocking and testing. Provides a simple client you can plug into PSR-7/PSR-17 workflows to return predefined responses without real network calls. 1 1 0 2K 0 0.6 42.5 MIT 2 years ago
View on GitHub
Context7
psr-mock/http 0.82 psr-mock/http is a tiny PHP package for mocking PSR-7 HTTP messages in tests. Create predictable request/response objects without a full HTTP client, helping you unit test middleware, clients, and services with minimal setup. 1 1 0 1K 0 0.6 38.5 MIT 2 years ago
View on GitHub
Context7
mpyw/laravel-database-mock 0.82 6 6 0 3K 0 19.6 42.8 MIT 1 month ago
View on GitHub
Context7
mcustiel/phiremock-server 0.82 PHP HTTP mock/stub server inspired by WireMock. Mock requests by method/headers/URL/body/forms, set responses via REST API, support scenarios, priorities, latency simulation, verification counts, proxying, and loading expectations from JSON files. 19 19 6 15K 1 19.8 45.0 GPL-3.0 4 months ago
View on GitHub
Context7
psr-mock/http-factory-implementation 0.82 Lightweight PSR-17/PSR-7 HTTP factory/message mock implementation for PHP 8.1+. Built for SDKs and libraries to test against PSR interfaces without hard deps, with strict PSR compliance and helpful debugging API. 0 0 0 2K 0 0.6 46.7 MIT 2 years ago
View on GitHub
Context7
sofa/eloquent-testsuite 0.81 10 10 2 862 0 2.6 26.2 MIT 5 years ago
View on GitHub
Context7
eloquent/phony-kahlan 0.81 5 5 3 26 0 1.3 7.1 MIT 5 years ago
View on GitHub
Context7
mcustiel/phiremock-common 0.81 Shared utilities for the Phiremock PHP ecosystem. Provides common classes, interfaces, and helpers used across related packages to simplify building and consuming Phiremock client/server components with consistent behavior and minimal duplication. 3 3 5 13K 1 16.4 54.0 GPL-3.0 4 months ago
View on GitHub
Context7
imanghafoori/eloquent-mockery 0.81 127 127 20 714 4 2.7 12.8 MIT 2 years ago
View on GitHub
Context7
psr-mock/http-message-implementation 0.81 Lightweight PSR-7 HTTP message implementation mock for testing libraries and SDKs without hard dependencies. Strictly follows PSR behavior and includes a developer-friendly API to debug and fix failing tests faster. For dev use only (PHP 8.1+). 0 0 1 2K 0 0.6 46.8 MIT 2 years ago
View on GitHub
Context7
bneumann/mock-api-bundle 0.81 2 2 0 0 0 0.0 MIT
View on GitHub
Context7
avris/function-mock 0.81 Mock PHP functions in unit tests without changing your code. avris/function-mock lets you replace and control built-in and user-defined function calls at runtime, making it easier to test legacy code, edge cases, and hard-to-isolate behavior. 0 0 0 0.0
View on GitHub
Context7
mockery/mockery 0.81 Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, and more. It provides a readable DSL to define expectations and interactions, integrates cleanly with PHPUnit, and can be used alongside PHPUnit’s own mocking tools. 10,726 10,811 466 10M 106 68.0 62.4 BSD-3-Clause 2 years ago
View on GitHub
Deep Wiki
Context7
jcchavezs/httptest 0.80 Spin up a lightweight local HTTP server for integration testing real HTTP calls (e.g., cURL). Define a request handler to assert method/headers/body and craft responses, enabling client- and server-side assertions without mocking HTTP. 9 9 1 199 2 1.7 18.2 8 years ago
View on GitHub
Context7
mcustiel/phiremock-client 0.80 PHP client for Phiremock Server with a fluent API to define HTTP expectations, manage scenarios, and reset server state. Works with Guzzle 6 by default, or any PSR-18 HTTP client by overriding the factory for custom connections. 16 16 9 12K 1 18.5 44.4 GPL-3.0 3 months ago
View on GitHub
Context7
guzzle/plugin-mock 0.80 guzzle/plugin-mock provides a mock plugin for Guzzle, letting you queue predefined responses and simulate HTTP requests during testing. Useful for isolating API clients, reproducing edge cases, and running fast, reliable unit tests without real network calls. 3 3 0 505 0 0.0 29.1
View on GitHub
Context7
eloquent/phony-phpunit 0.80 Integration of the Phony mocking/stubbing library with PHPUnit, providing helpers to use Phony in your test suite. Note: this package is no longer maintained; see the linked statement and consider alternatives or the main Phony repo. 6 6 3 718 0 1.6 19.3 MIT 5 years ago
View on GitHub
Context7
mpyw/mockery-pdo 0.80 Experimental BDD-style PDO mocking library built on mockery/mockery. Define expectations for prepare/bind/execute and return rows via fetch/fetchAll in a fluent API, making PDO-based code easy to test on PHP 8.2+. 3 3 2 1K 1 9.9 37.7 MIT 7 months ago
View on GitHub
Context7
chaplean/unit-bundle 0.80 0 0 0 0 0 0.0
View on GitHub
Context7
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.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor