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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| b2pweb/bdf-phpunit | 0.92 | 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 | 197 | 0 | 0.0 | 31.7 | MIT | — | |
| wyrihaximus/test-utilities | 0.89 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 51K | 6 | 29.9 | 65.4 | MIT | 1 month ago | |
| symfonycasts/internal-test-helpers | 0.89 | 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 | — | — | — | |
| adroit11/laravel-tests | 0.89 | Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| drjele/symfony-phpunit | 0.88 | Symfony bridge for running PHPUnit tests with a simple, consistent setup. Provides helpers and configuration to integrate PHPUnit into Symfony projects, smoothing bootstrapping and test execution across environments. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| axstrad/use-case-test-bundle | 0.88 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| jcchavezs/httptest | 0.88 | Spin up a lightweight local HTTP server for integration testing real HTTP calls (e.g., cURL). Define a request handler to assert method/headers/body and craft responses, enabling client- and server-side assertions without mocking HTTP. | 9 | 9 | 1 | 663 | 2 | 1.7 | 23.7 | — | 8 years ago | |
| zetacomponents/unit-test | 0.88 | eZ Components Unit Test package (Zeta Components) provides a PHPUnit-like testing framework for PHP, with test case classes, assertions, and test suite execution. Useful for legacy apps using the ezc libraries or needing a lightweight unit test runner. | 2 | 2 | 12 | 67 | 0 | 0.4 | 18.9 | NOASSERTION | — | |
| phpunit/phpunit | 0.87 | PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and generate reports via PHAR or Composer-installed tooling. Maintained by Sebastian Bergmann and contributors. | 20,038 | 20,551 | 2,223 | 14M | 19 | 80.9 | 54.5 | BSD-3-Clause | 1 week ago | |
| lchrusciel/api-test-case | 0.83 | PHPUnit TestCase for Symfony API development. Extends WebTestCase with easy JSON/XML response matching (via php-matcher) and optional Alice/Doctrine fixtures loading. Supports a clear TDD workflow using expected response files and helpful diffs. | 411 | 410 | 40 | 122K | 11 | 25.4 | 43.1 | MIT | 4 months ago | |
| myqee/test | 0.83 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| phpunitgoodpractices/traits | 0.79 | A small set of PHP traits to improve PHPUnit test code by reducing boilerplate and encouraging cleaner, reusable assertions and setup patterns. Useful for Laravel and general PHP projects that want more readable, maintainable tests. | 22 | 22 | 1 | 12K | 3 | 2.6 | 26.9 | MIT | 3 years ago | |
| digitalrevolution/phpunit-extensions | 0.78 | — | 3 | 3 | 2 | 4K | 1 | 22.2 | 46.2 | MIT | 3 months ago | |
| maks3w/phpunit-methods-trait | 0.76 | 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 | 23 | 0 | 2.8 | 15.2 | NOASSERTION | 5 years ago | |
| tarantool/phpunit-extras | 0.73 | — | 2 | 2 | 1 | 844 | 0 | 3.9 | 33.6 | MIT | 3 years ago | |
| ekino/sonata | 0.72 | — | 4 | 4 | 11 | 0 | 3 | 2.6 | 3.8 | MIT | 5 years ago |
How can I help you explore Laravel packages today?