herrera-io/phpunit-test-case
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-mock/php-mock-phpunit | 0.88 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 173 | 176 | 20 | 236K | 4 | 28.3 | 51.3 | WTFPL | 1 month ago | |
| symfony/phpunit-bridge | 0.88 | 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 | |
| digitalrevolution/phpunit-extensions | 0.87 | PHPUnit extensions offering utility classes for easier unit testing: a withConsecutive replacement for PHPUnit 10 migration, plus Symfony AbstractControllerTestCase and ConstraintValidator test case helpers for mocking users, forms, violations, and more. | 3 | 3 | 2 | 3K | 1 | 25.2 | 46.0 | MIT | 1 month ago | |
| brianium/paratest | 0.87 | 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 | |
| testo/inline | 0.87 | Inline test plugin for Testo: mark methods as tests via PHP attributes, without separate test classes. Ideal for quick checks near production code and self-documenting examples. Install with composer require --dev testo/inline. | 0 | 0 | 0 | 16K | 0 | 0.0 | 55.3 | — | — | |
| php-mock/php-mock | 0.87 | 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 | |
| b2pweb/bdf-phpunit | 0.87 | 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 | — | |
| suin/php-expose | 0.87 | Expose helps PHPUnit tests access private/protected properties and methods in PHP objects. Use a simple fluent API to set non-public attributes and call hidden methods without changing production code. Requires PHP 5.3+ and installs via Composer. | 5 | 5 | 1 | 84 | 0 | 0.1 | 16.2 | — | — | |
| sebastian/global-state | 0.87 | 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 | |
| soft-passio/api-test-cases | 0.87 | Soft Passio API Test Cases is a Laravel package for defining and running API test cases, letting you assert endpoints, responses, status codes, and auth flows so your JSON APIs stay reliable as they grow. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 6 years ago | |
| tflori/phpunit-printer | 0.87 | Custom PHPUnit printers for cleaner test output. Includes TextPrinter for human-friendly, readable progress reporting. Install via Composer and enable via phpunit --printer or printerClass in phpunit.xml; works across multiple PHP/PHPUnit versions. | 0 | 0 | 0 | 197 | 0 | 1.8 | 31.7 | — | 4 years ago | |
| phpunit/phpunit-dom-assertions | 0.87 | 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 |
|
| lendable/phpunit-extensions | 0.86 | — | 2 | 2 | 0 | 2K | 1 | 8.6 | 43.2 | MIT | 8 months ago | |
| brown298/test_extension | 0.86 | brown298/test_extension is a Laravel/PHP test extension package. It appears to be an early-stage or minimal project with limited public metadata and no visible community traction yet. Suitable for experimentation or as a starting point for custom testing utilities. | 0 | 1 | — | 1 | — | 0.0 | 4.2 | — | — | |
| wyrihaximus/test-utilities | 0.86 | Test utilities for api-clients packages, providing a PHPStan extension so test classes can extend WyriHaximus\TestUtilities\TestCase, with automatic registration via phpstan/extension-installer or manual inclusion of extension.neon. | 7 | 7 | 1 | 204K | 6 | 35.0 | 69.0 | MIT | 6 days ago | |
| eloquent/phony-phpunit | 0.86 | 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 | 713 | 0 | 1.6 | 19.7 | MIT | 5 years ago | |
| 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 | — | — | |
| phpstan/phpstan-phpunit | 0.86 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 1 month ago | |
| nnjeim/respond | 0.86 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago | |
| robiningelbrecht/phpunit-coverage-tools | 0.86 | Enforce minimum PHPUnit code coverage using Clover XML reports. Fails the test run with exit code 1 when coverage drops below a threshold—ideal for CI/CD and pre-commit hooks. Configure via phpunit.xml and run with --min-coverage plus --coverage-clover. | 17 | 17 | 4 | 33K | 1 | 16.4 | 49.3 | MIT | 7 months ago |
How can I help you explore Laravel packages today?