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

Mocker Laravel Package

reecem/mocker

A lightweight Laravel-friendly mocking helper for PHP tests. Quickly define and swap mocks, set expectations, and control return values to simplify unit and feature testing. Designed to reduce boilerplate and keep test setup clean and readable.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
janmarek/mockista 0.81 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 1K 2 1.4 23.2
View on GitHub
Context7
imanghafoori/eloquent-mockery 0.81 127 127 20 804 4 2.7 13.4 MIT 2 years ago
View on GitHub
Context7
php-mock/php-mock 0.81 Mock built-in PHP functions like time() or rand() in tests by leveraging PHP’s namespace fallback: define namespaced replacements for unqualified calls. Works in non-global namespaces; supports common test frameworks via integrations (e.g., PHPUnit). 371 376 19 584K 3 17.0 47.9 WTFPL 7 months ago
View on GitHub
Context7
mpyw/laravel-database-mock 0.81 6 6 0 975 0 17.1 33.8 MIT 3 months 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
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. 477 486 86 57K 13 27.6 37.6 NOASSERTION 7 months ago
View on GitHub
Context7
mockery/mockery 0.80 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,724 10,810 469 11M 87 87.7 76.5 BSD-3-Clause 1 month ago
View on GitHub
Deep Wiki
Context7
php-mock/php-mock-mockery 0.79 Integrates php-mock with Mockery to mock PHP built-in functions in tests. Create namespaced function mocks with PHPMockery::mock() and set expectations/returns, then call Mockery::close(). Supports only unqualified calls; define early if needed. 39 39 5 69K 2 1.9 44.6 WTFPL 1 year ago
View on GitHub
Context7
mcustiel/phiremock 0.78 150 152 15 8K 1 10.3 24.0 GPL-3.0 5 years ago
View on GitHub
Context7
codeception/aspect-mock 0.78 785 791 133 14K 40 27.4 32.9 MIT 4 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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle