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
psr-mock/http 0.83 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 39.6 MIT 2 years ago
View on GitHub
Context7
bneumann/mock-api-bundle 0.82 2 2 0 0 0 0.0 MIT
View on GitHub
Context7
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 233 2 1.4 14.5
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 3K 0 0.6 44.0 MIT 2 years ago
View on GitHub
Context7
mpyw/mockery-pdo 0.82 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 2K 1 11.8 41.3 MIT 5 months ago
View on GitHub
Context7
mcustiel/phiremock-common 0.82 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 18K 1 18.7 56.8 GPL-3.0 3 months ago
View on GitHub
Context7
mpyw/laravel-database-mock 0.82 6 6 0 2K 0 21.0 41.3 MIT 6 days 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 20.3 45.8 GPL-3.0 2 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 3K 0 0.6 47.9 MIT 2 years ago
View on GitHub
Context7
sofa/eloquent-testsuite 0.81 10 10 2 867 0 2.6 26.3 MIT 5 years ago
View on GitHub
Context7
eloquent/phony-kahlan 0.81 5 5 3 32 0 1.3 7.0 MIT 5 years ago
View on GitHub
Context7
imanghafoori/eloquent-mockery 0.81 127 127 20 646 4 2.7 12.3 MIT 1 year 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 3K 0 0.6 48.0 MIT 2 years ago
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,725 10,807 465 9M 105 68.0 62.2 BSD-3-Clause 2 years ago
View on GitHub
Deep Wiki
Context7
phake/phake 0.80 Phake is a PHP mocking framework for PHPUnit and other test runners. Create mocks, stubs, and spies with a simple API, verify method calls and arguments, and define return values or exceptions—ideal for fast, isolated unit tests. 475 484 86 66K 13 31.3 39.7 NOASSERTION 4 months ago
View on GitHub
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 663 2 1.7 23.7 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 14K 1 20.0 46.6 GPL-3.0 2 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 3K 0 0.0 38.7
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 929 0 1.6 20.7 MIT 5 years ago
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.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
babenkoivan/elastic-client
innmind/static-analysis
innmind/coding-standard
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit