seec/phpunit-consecutive-params
Bring back PHPUnit’s removed withConsecutive behavior. This lightweight dev helper provides a drop-in replacement via a trait, letting you assert different parameter sets across consecutive mock calls using ->with(...$this->withConsecutive(...)).
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| way/phpunit-wrappers | 0.86 | way/phpunit-wrappers provides lightweight PHPUnit wrapper utilities for Laravel and PHP projects, helping you write cleaner, more readable tests with less boilerplate. Use it to simplify assertions, test setup, and common testing patterns without changing your existing PHPUnit workflow. | 45 | 47 | 2 | 66 | 0 | 0.3 | 5.3 | — | — | |
| phpunit/phpunit-dom-assertions | 0.85 | Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| selective/test-traits | 0.85 | Selective Test Traits provides reusable PHPUnit and Pest traits for Laravel, helping you cut test boilerplate, keep suites focused, and share common setup across tests. It makes cleaner, more maintainable tests easier to write without repeating helpers. | 15 | 15 | 4 | 8K | 0 | 7.4 | 39.4 | MIT | 7 months ago | |
| pkly/phpunit-service-create-trait | 0.85 | A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it. | 0 | 0 | 0 | 289 | 0 | 20.8 | 39.4 | MIT | 1 month ago | |
| sanmai/phpunit-double-colon-syntax | 0.85 | Run individual PHPUnit test methods with the familiar file::method syntax (like pytest). This dev package rewrites args via Composer autoload so vendor/bin/phpunit tests/FooTest.php::testBar becomes file + --filter automatically. Supports multiple methods; PHPUnit 6+. | 0 | 0 | 0 | 795 | 0 | 5.0 | 31.4 | BSD-3-Clause | 6 months ago | |
| marcin-orlowski/phpunit-extra-asserts | 0.85 | A collection of extra assertions for PHPUnit that helps make test suites more expressive and readable. Add clearer, reusable checks for common test scenarios, reduce custom assertion code, and get more informative failures in PHPUnit-based projects. | 3 | 3 | 0 | 623 | 0 | 0.0 | 30.3 | MIT | 2 years ago | |
| automattic/phpunit-select-config | 0.85 | 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 | — | |
| k2gl/phpunit-fluent-assertions | 0.85 | A PHPUnit extension that adds fluent, chainable assertions to your tests, making expectations more readable and expressive while reducing verbose assertion code and keeping familiar PHPUnit workflows. | 2 | 2 | 0 | 586 | 0 | 17.3 | 36.4 | MIT | 1 month ago | |
| stephenjude/api-test-helper | 0.85 | stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... | 47 | — | 1 | — | 0 | 0.3 | — | MIT | 3 years ago | |
| hughsaffar/laravel-test-trap | 0.84 | Laravel Test Trap is a focused testing helper for Laravel that adds guardrails to your suite, helping catch unintended behavior before it reaches CI. It keeps tests safer and more predictable with minimal setup, making it a useful addition for teams tightening test reliability. | 18 | — | 1 | — | 0 | 0.5 | — | MIT | 3 years ago | |
| herrera-io/phpunit-test-case | 0.84 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 32 | 0 | 0.0 | 12.0 | MIT | — | |
| symfony/phpunit-bridge | 0.84 | PHPUnit Bridge adds utilities on top of PHPUnit, with a focus on managing deprecation notices in your test suite. It helps you track, report, and fix deprecations so your code stays compatible with future Symfony and PHP versions. | 2,463 | 2,468 | 47 | 4M | 0 | 47.9 | 52.6 | MIT | 1 week ago | |
| pamil/phpspec-skip-example-extension | 0.84 | PhpSpec extension to skip examples via annotations. Add @require ClassOrInterface to a spec to skip all its examples when that dependency isn’t available—useful for optional integrations and version-dependent code. Compatible with PhpSpec 4 and 5. | 0 | 0 | 0 | 2K | 0 | 0.3 | 43.9 | MIT | 5 years ago | |
| sebastian/global-state | 0.84 | Snapshot and restore PHP global state with sebastian/global-state, the standalone component extracted from PHPUnit. Capture globals, superglobals, static properties, and constants for reliable test isolation. | 6,591 | 6,592 | 18 | 24M | 1 | 39.4 | 54.3 | BSD-3-Clause | 5 months ago | |
| nnjeim/respond | 0.84 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago | |
| brianium/paratest | 0.84 | ParaTest brings zero-configuration parallel testing to PHPUnit. Run tests across multiple processes by TestCase or Test, and combine code coverage into one report. Install via Composer and use vendor/bin/paratest with no extra bootstrap needed. | 2,518 | 2,531 | 265 | 13M | 4 | 55.0 | 63.6 | MIT | 1 week ago | |
| henrikbjorn/phpspec-code-coverage | 0.83 | 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 | |
| tourze/phpunit-symfony-kernel-test | 0.83 | A PHPUnit helper for Symfony applications that boots and manages the Symfony kernel during tests, giving access to the container and services with minimal setup. Simplifies writing kernel-aware integration tests in PHP. | 0 | 0 | 0 | 189 | 0 | 2.7 | 32.1 | MIT | 10 months ago | |
| php-mock/php-mock | 0.83 | 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 | |
| nicolasguilloux/phpunit-dependency-injection-bundle | 0.83 | A PHPUnit dependency injection bundle that lets tests resolve services from a container instead of constructing dependencies manually. Keeps test classes lean and setup simple for container-based PHP apps. Low adoption, so expect limited docs and community support. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago |
How can I help you explore Laravel packages today?