eliashaeussler/phpunit-attributes
PHPUnit Attributes adds modern PHP 8 attributes to define PHPUnit tests, data providers, groups, dependencies and more in a clean, declarative way. Keep test classes readable and reduce annotation/docblock noise while staying compatible with PHPUnit workflows.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpstan/phpstan-phpunit | 0.87 | 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. | 547 | 550 | 58 | 6M | 34 | 43.9 | 79.1 | MIT | 1 month ago | |
| robiningelbrecht/phpunit-pretty-print | 0.86 | A PHPUnit result printer that transforms default test output into clean, colorful, readable reports. See progress, failures, and timing at a glance, with less noise and more useful detail during every test run. Easy to install and configure via phpunit.xml. | 77 | — | 2 | — | 1 | 8.4 | — | MIT | 7 months ago |
|
| maks3w/phpunit-methods-trait | 0.86 | 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 | |
| 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 | — | |
| yoanm/php-unit-extended | 0.86 | A PHPUnit extension for PHP that adds extra test helpers and assertions, reducing boilerplate and making unit tests clearer and easier to maintain alongside PHPUnit's built-in features. | 0 | 0 | 0 | 68 | 0 | 0.1 | 25.4 | MIT | 3 years ago | |
| andreas-weber/php-junit-merge | 0.86 | A PHP tool for merging multiple JUnit XML test reports into one file, simplifying consolidation of results from parallel test runs and CI jobs. Useful for build pipelines that need a single combined JUnit report. | 12 | — | 14 | — | 3 | 1.4 | 1.1 | MIT | 5 years ago |
|
| k2gl/phpunit-fluent-assertions | 0.86 | 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 | |
| amphp/phpunit-util | 0.86 | Small utility for simplifying async testing in PHPUnit with AMPHP’s fiber-based concurrency. Integrates seamlessly with AsyncTestCase to run tests as coroutines, ensuring smooth execution of I/O-bound operations like sockets, streams, and HTTP requests. Works with PHP 8.1+. Ideal for testing concurr... | 22 | 22 | 8 | 18K | 0 | 24.5 | 47.0 | MIT | 1 week ago | |
| marcin-orlowski/phpunit-extra-asserts | 0.86 | 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 | |
| phpunitgoodpractices/traits | 0.86 | 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. | 21 | 22 | 1 | 15K | 3 | 2.6 | 28.1 | MIT | 4 years ago | |
| herrera-io/phpunit-test-case | 0.86 | 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 | — | |
| diablomedia/phpunit-pretty-printer | 0.86 | A drop-in PHPUnit result printer that swaps the default console output for colorful, readable test results. See test progress, failures, exception diffs, and timing at a glance, with configurable verbosity for CI and local runs. | 77 | — | 14 | — | 2 | 1.5 | 1.1 | MIT | 4 years ago |
|
| lastdragon-ru/phpunit-extensions | 0.86 | PHPUnit extensions for PHP projects, adding extra test utilities and helpers to streamline assertions, fixtures, and test setup. Designed to integrate cleanly with PHPUnit and improve developer productivity in automated testing workflows. | 0 | 0 | 0 | 28 | 0 | 0.0 | 20.2 | MIT | — | |
| draw/tester | 0.85 | 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 | — | |
| apie/phpunit-matrix-data-provider | 0.85 | PHPUnit data provider that generates a matrix of test cases across multiple PHP and Laravel versions in one go. Configure your supported version combinations and let it fan tests out automatically, keeping compatibility suites DRY and every run clearly labeled by environment. | 0 | 0 | 0 | 1K | 0 | 0.0 | 43.6 | MIT | — | |
| zalas/phpunit-globals | 0.85 | A lightweight PHPUnit extension that backs up and restores PHP globals between tests so leaked global state can't break your suite. Register the listener, add the trait, and annotate which globals to preserve for clean, predictable test runs. | 40 | 40 | 9 | 22K | 0 | 5.9 | 39.5 | MIT | 9 months ago | |
| jchook/phpunit-assert-throws | 0.85 | A PHPUnit assertion helper for testing that code throws exceptions. It adds assertThrows to verify exception types and messages in a single call, keeping tests compact and readable while confirming the expected error is actually raised. | 11 | — | 3 | — | 0 | 0.1 | — | MIT | — |
|
| phpunit/phpunit-skeleton-generator | 0.85 | PHPUnit Skeleton Generator creates skeleton test classes from existing production code and skeleton class stubs from test cases, helping PHP developers bootstrap PHPUnit tests quickly with less boilerplate. | 0 | 160 | — | 30 | — | 0.0 | 20.6 | — | — | |
| phpspec/prophecy-phpunit | 0.85 | 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. | 195 | 195 | 39 | 1M | 1 | 11.7 | 56.7 | MIT | 9 months ago | |
| eliashaeussler/phpstan-config | 0.85 | Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. | 2 | 2 | 0 | 12K | 1 | 9.7 | 52.5 | GPL-3.0 | 11 months ago |
How can I help you explore Laravel packages today?