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

Prophecy Phpunit Laravel Package

console-helpers/prophecy-phpunit

PHPUnit integration helpers for Prophecy, providing convenience traits and utilities to streamline mock creation, prophecy assertions, and cleanup in your test suite. Designed to reduce boilerplate and keep Prophecy-based unit tests tidy and consistent.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
imanghafoori/eloquent-mockery 0.87 — 127 127 20 122 4 2.6 5.1 MIT 2 years ago
View on GitHub
lendable/phpunit-extensions 0.87 — 2 2 0 2K 1 8.6 43.2 MIT 8 months ago
View on GitHub
psr-mock/http 0.86 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.5 MIT 2 years ago
View on GitHub
sofa/eloquent-testsuite 0.86 — 10 10 2 1K 0 2.5 28.3 MIT 5 years ago
View on GitHub
phpspec/prophecy 0.85 Highly opinionated yet flexible PHP mocking framework for unit tests. Create test doubles with a Prophet, define expected calls and return values, then reveal mocks and verify predictions. Works with PHPUnit and other frameworks; requires PHP 7.2+. 8,462 8,498 245 3M 89 67.7 61.3 MIT 8 months ago
View on GitHub
Context7
belsym/test-bundle 0.85 — 1 1 0 0 0 0.0 — MIT —
View on GitHub
Context7
cosma/testing-bundle 0.85 — 3 4 2 0 3 0.8 0.4 — —
View on GitHub
janmarek/mockista 0.85 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 248 2 1.4 14.9 — —
View on GitHub
mockery/mockery 0.85 Mockery is a flexible PHP mock object framework for unit testing with PHPUnit, PHPSpec, or any other testing framework. It offers a succinct, human-readable DSL for defining test doubles and integrates easily as a drop-in alternative to PHPUnit's mocking library. 10,724 10,808 470 19M 89 84.3 77.1 BSD-3-Clause 2 months ago
View on GitHub
Context7
eloquent/phony-kahlan 0.84 — 5 5 3 15 0 1.3 5.3 MIT 5 years ago
View on GitHub
mpyw/laravel-database-mock 0.84 Experimental Laravel package that mocks underlying PDO connections with Mockery, letting you stub SELECT, INSERT, and UPDATE queries and results for fast, database-free tests. Requires PHP 8.2+ and Laravel 11+. 6 6 0 1K 0 13.2 33.9 MIT 4 months ago
View on GitHub
phpspec/prophecy-phpunit 0.84 Integrates the Prophecy mocking library with PHPUnit for simpler, cleaner test doubles. Install via Composer and use the ProphecyTrait to call prophesize() inside your TestCase, set method predictions/returns, and reveal mocks for injection. 195 195 39 1M 1 11.7 56.7 MIT 8 months ago
View on GitHub
graham-campbell/testbench 0.84 Laravel TestBench by Graham Campbell provides testing functionality for Laravel packages, built on PHPUnit, Mockery, Orchestral Testbench, and Laravel Testbench Core. Supports PHP 7.4-8.5, PHPUnit 9-11, and Laravel 8-13. 0 51 — 4K — 9.3 50.1 — —
View on GitHub
symfonycasts/internal-test-helpers 0.84 Internal test utilities from SymfonyCasts to streamline PHPUnit and Symfony/Laravel package testing. Provides shared helpers, fixtures, and assertions used across SymfonyCasts projects to reduce boilerplate and keep tests consistent and readable. 0 — 2 — 0 0.1 — — —
Context7
bentools/doctrine-static 0.84 Lightweight in-memory Doctrine mock for unit tests. Create ObjectManagers in a ManagerRegistry, persist/remove and flush to a temporary store, and use repository methods like find, findBy, findOneBy, and findAll. Not for real persistence. 2 3 0 55 0 0.0 17.8 — —
View on GitHub
Context7
phake/phake 0.84 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. 478 486 86 66K 13 23.7 37.2 NOASSERTION 8 months ago
View on GitHub
jangregor/phpstan-prophecy 0.84 PHPStan extension for phpspec/prophecy that improves type inference in tests. It teaches PHPStan the real types returned from Prophecy workflows like prophesize(), willExtend(), and reveal(), so your revealed doubles are understood as the mocked class. 111 111 30 414K 3 18.6 53.5 MIT 8 months ago
View on GitHub
Context7
codeception/aspect-mock 0.84 — 784 791 132 14K 40 27.3 32.9 MIT 4 years ago
View on GitHub
psr-mock/http-client-implementation 0.83 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.8 MIT 2 years ago
View on GitHub
mpyw/mockery-pdo 0.83 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 5.1 34.5 MIT 10 months ago
View on GitHub
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.
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core