marcin-orlowski/phpunit-extra-asserts
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| robiningelbrecht/phpunit-pretty-print | 0.89 | 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 |
|
| way/phpunit-wrappers | 0.88 | 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 | — | — | |
| phpfui/phpunit-syntax-coverage | 0.88 | A PHPUnit extension that measures PHP syntax coverage, showing which language constructs and parser nodes your test suite actually exercises. Use it to spot untested syntax like new operators, match expressions, or traits, then close those gaps with focused tests. | 2 | 3 | 0 | 154 | 0 | 16.2 | 27.1 | MIT | 2 months ago | |
| johnkary/phpunit-speedtrap | 0.88 | PHPUnit SpeedTrap reports slow tests and slow test suites so you can find and fix performance bottlenecks. Set a time threshold and it flags any test exceeding it, helping keep your suite fast. | 778 | — | 61 | — | 18 | 11.9 | 9.3 | MIT | 5 years ago |
|
| sebastian/global-state | 0.88 | 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 | |
| yoanm/php-unit-extended | 0.88 | 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 | |
| micro-module/unit-test-generator | 0.88 | Micro Module's Unit Test Generator scaffolds PHPUnit tests for Laravel/PHP code, turning existing classes into ready-to-edit test files to cut boilerplate and speed up initial coverage. It helps bootstrap suites and standardize structure, leaving assertions for you to refine. | 1 | 1 | 0 | 16 | 0 | 0.0 | 13.2 | — | 3 years ago | |
| apie/phpunit-matrix-data-provider | 0.88 | 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 | — | |
| draw/tester | 0.88 | 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 | — | |
| diablomedia/phpunit-pretty-printer | 0.88 | 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 |
|
| robiningelbrecht/phpunit-coverage-tools | 0.88 | 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 | |
| padraic/phpunit-extensions | 0.88 | A collection of extensions and helpers for PHPUnit by Padraic Brady, offering convenience assertions, mock utilities, and testing shortcuts that reduce boilerplate and help you write cleaner, more maintainable PHP unit tests. | 17 | 17 | 4 | 353 | 0 | 0.1 | 12.8 | BSD-3-Clause | 9 years ago | |
| maks3w/phpunit-methods-trait | 0.87 | 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 | |
| phpunit/phpunit-skeleton-generator | 0.87 | 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 | — | 29 | — | 0.0 | 20.4 | — | — | |
| omnicode/lara-test | 0.87 | Omnicode Lara-Test is a Laravel testing package that provides helpers and utilities to streamline PHPUnit/Pest test setup, everyday assertions, and common testing workflows for Laravel applications. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| phpspec/prophecy-phpunit | 0.87 | 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 | 8 months ago | |
| herrera-io/phpunit-test-case | 0.87 | 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 | — | |
| sven/laravel-testing-utils | 0.87 | Practical testing helpers for Laravel applications, including cleaner assertions, setup shortcuts, and conveniences for HTTP, database, and mocking workflows. Designed to keep PHPUnit and Pest suites readable, consistent, and fast without extra boilerplate. | 21 | 24 | 1 | 12 | 1 | 0.1 | 1.8 | MIT | 6 years ago | |
| robiningelbrecht/phpunit-coverage-check | 0.87 | PHPUnit Coverage Check is a lightweight PHP tool to verify code coverage meets a required minimum. It reads PHPUnit coverage reports and fails builds when thresholds aren’t reached—useful for CI pipelines to enforce coverage standards in Laravel and PHP projects. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| nnjeim/respond | 0.87 | — | 5 | 5 | 1 | 6 | 0 | 0.7 | 4.2 | MIT | 5 years ago |
How can I help you explore Laravel packages today?