phpunitgoodpractices/traits
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpunit/php-code-coverage | 0.83 | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Use it to start/stop coverage during tests, filter included files, and generate reports such as OpenClover XML from live runs or serialized coverage data. | 8,932 | 8,978 | 386 | 13M | 20 | 72.4 | 59.8 | BSD-3-Clause | 6 days ago | |
| phpunit/phpunit | 0.83 | PHPUnit is the leading unit testing framework for PHP, based on the xUnit architecture. Run tests from a bundled PHAR or install via Composer, with CI and code coverage support to help keep your code reliable. | 20,013 | 20,525 | 2,233 | 13M | 59 | 88.0 | 72.7 | BSD-3-Clause | 1 day ago | |
| ta-tikoma/phpunit-architecture-test | 0.82 | Architecture testing for PHP projects using PHPUnit. Define and enforce dependency, namespace, and layer rules (e.g., no forbidden coupling, keep domains isolated) and catch architectural violations in CI with fast, expressive tests. | 107 | — | 12 | — | 1 | 1.0 | — | MIT | — | |
| eliashaeussler/phpunit-attributes | 0.81 | 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. | 4 | 4 | 1 | 1K | 1 | 24.6 | 38.7 | GPL-3.0 | 1 month ago | |
| sempro/phpunit-pretty-print | 0.80 | Pretty-print PHPUnit test output for cleaner, more readable console runs. sempro/phpunit-pretty-print adds a nicer, compact format that highlights failures and progress, helping you scan results faster while keeping compatibility with standard PHPUnit workflows. | 186 | 187 | 25 | 60K | 3 | 24.3 | 41.6 | MIT | 5 years ago | |
| phpunitgoodpractices/polyfill | 0.80 | Polyfill library for PHPUnit best practices, providing compatibility helpers and shims to keep test suites consistent across PHPUnit versions. Useful for package maintainers aiming for cleaner, more portable tests without forcing specific PHPUnit upgrades. | 11 | 11 | 2 | 16K | 6 | 12.1 | 52.5 | MIT | 3 years ago |
How can I help you explore Laravel packages today?