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

phpspec/prophecy-phpunit

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
console-helpers/prophecy-phpunit 0.88 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. 0 0 1 51 0 12.1 26.1 MIT 5 months ago
View on GitHub
graham-campbell/testbench-core 0.88 Laravel TestBench Core by Graham Campbell provides reusable testing functionality for Laravel packages and applications, supporting PHPUnit 9-12 and Laravel 8-13 on PHP 7.4-8.5. 0 17 — 5K — 9.0 51.6 — —
View on GitHub
maks3w/phpunit-methods-trait 0.88 PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert. 1 2 1 14 0 2.8 12.5 NOASSERTION 5 years ago
View on GitHub
nnjeim/respond 0.87 — 5 5 1 6 0 0.7 4.2 MIT 5 years ago
View on GitHub
phpspec/prophecy 0.87 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
lastdragon-ru/lara-asp-testing 0.86 Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. 0 0 0 75 0 0.0 26.0 MIT —
View on GitHub
henrikbjorn/phpspec-code-coverage 0.86 Deprecated PhpSpec extension that generates code coverage reports (HTML by default, plus clover/php/text) with configurable whitelists/blacklists and output paths. Install via Composer, enable in phpspec.yml, run phpspec (or phpdbg on PHP 7+). 97 100 28 2K 0 2.2 12.3 MIT 10 years ago
View on GitHub
phpunit/php-invoker 0.86 phpunit/php-invoker is a small utility for safely invoking callables with time limits. Commonly used by PHPUnit to run tests and other code with a timeout, helping prevent hangs while keeping execution and error handling predictable. 1,352 1,359 18 15M 1 13.8 58.2 BSD-3-Clause 9 months ago
View on GitHub
phpunit/phpunit 0.86 PHPUnit is a programmer-oriented testing framework for PHP, an xUnit architecture instance for unit testing. Install via PHAR or Composer. 0 20,591 — 27M — 15.0 55.3 — —
View on GitHub
graham-campbell/phpspec-skip-example-extension 0.86 PhpSpec extension that lets you skip spec examples via simple annotations. Add @require ClassOrInterface to skip all examples in a spec when a dependency isn’t available. Install with Composer and enable in phpspec.yml. 0 1 — 111 — 0.9 28.3 — —
View on GitHub
php-mock/php-mock 0.86 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). 370 375 19 726K 3 13.0 47.8 WTFPL 9 months ago
View on GitHub
friends-of-phpspec/phpspec-expect 0.86 Adds an expect() helper for PhpSpec, enabling expressive assertions like expect($value)->toBe(true) in your specs. Lightweight, dev-only dependency with compatibility across multiple PhpSpec and PHP versions. 4 4 3 9K 0 2.2 45.6 MIT 1 year ago
View on GitHub
Context7
mockery/mockery 0.86 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
automattic/phpunit-select-config 0.86 Small utility for PHPUnit projects that helps select or switch the PHPUnit configuration file to use when running tests. Handy for repos with multiple phpunit.xml variants (e.g., local vs CI) and scripts that need consistent config selection. 1 1 2 2K 0 0.1 40.1 NOASSERTION —
View on GitHub
Context7
lendable/phpunit-extensions 0.86 — 2 2 0 2K 1 8.6 43.2 MIT 8 months ago
View on GitHub
helmich/phpunit-json-assert 0.86 Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. 130 130 27 92K 3 10.8 42.3 MIT 8 months ago
View on GitHub
donatj/mock-webserver 0.86 Lightweight PHP mock web server for tests and local development. Spin up an HTTP server on a random port, enqueue canned responses, inspect received requests, and simulate endpoints reliably. Handy for integration tests without external services. 141 142 22 72K 5 17.6 42.3 MIT 8 months ago
View on GitHub
draw/tester 0.86 Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. 0 0 0 1K 0 0.0 43.0 MIT —
View on GitHub
draw/data-tester 0.86 Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. 0 0 0 0 0 0.6 — MIT 9 years ago
View on GitHub
Context7
b2pweb/bdf-phpunit 0.86 Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. 0 0 0 407 0 0.0 36.1 MIT —
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.
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