mehr-als-nix/assumptions
Assumptions for PHPUnit: skip tests when preconditions aren’t met (PHP version, extensions, etc.). Provides assumeTrue/assumeThat and Hamcrest matchers; failed assumptions are treated as skipped, including in @before/@beforeClass. Similar to @requires.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| tflori/phpunit-printer | 0.83 | 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 | 28 | 0 | 1.8 | 20.2 | — | 4 years ago | |
| codeclimate/php-test-reporter | 0.82 | PHP Test Reporter submits PHPUnit/PHPSpec code coverage to Code Climate. Generates coverage in CI and posts results to your Code Climate repo, helping track test quality over time. Simple CLI setup for common PHP workflows. | 65 | 65 | 32 | 14K | 3 | 4.1 | 33.7 | NOASSERTION | 9 years ago | |
| amphp/phpunit-util | 0.82 | 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 | 22K | 1 | 4.8 | 41.1 | MIT | 1 year ago | |
| cocur/vale | 0.81 | cocur/vale is a lightweight PHP value validation library. Define reusable rules to validate strings, numbers, arrays, and objects, and get clear, consistent results without pulling in a full framework—handy for DTOs, APIs, and input sanitization. | 14 | 14 | 1 | 3K | 0 | 0.7 | 31.7 | MIT | 11 years ago | |
| 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 | 2K | 1 | 19.8 | 41.0 | GPL-3.0 | 2 months ago | |
| symplify/easy-testing | 0.81 | Utilities for easier PHP unit testing, focused on writing cleaner tests with less boilerplate. Provides helpers and base test cases commonly used in Symplify tools to streamline assertions, fixture handling, and test setup across projects. | 41 | 42 | 3 | 46K | 0 | 0.1 | 29.7 | MIT | — | |
| hamcrest/hamcrest-php | 0.81 | Official PHP port of Hamcrest matchers for expressive assertions in tests. Use MatcherAssert::assertThat() or convenient global functions (assertThat, equalTo, is, both/andAlso, either/orElse) to build readable, composable matchers with PHP-friendly typing. | 7,010 | 7,022 | 46 | 9M | 10 | 31.5 | 47.6 | NOASSERTION | 1 year ago | |
| simpletest/simpletest | 0.80 | SimpleTest is a PHP unit testing framework with web site testing and mock objects. Install via Composer (simpletest/simpletest) for PHP 7.1+ and run its own unit and acceptance test suites; issues and community support via GitHub and Stack Overflow. | 149 | 153 | 49 | 7K | 3 | 10.2 | 24.6 | LGPL-2.1 | 8 months ago | |
| phpunit/phpunit | 0.79 | 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 | |
| zenstruck/assert | 0.76 | Lightweight PHP assertion helpers for cleaner, safer code. zenstruck/assert provides expressive, fluent assertions and value validation with helpful exception messages, improving readability in libraries and Laravel apps without bringing a full testing framework. | 82 | 82 | 5 | 775K | 1 | 15.2 | 60.1 | MIT | 5 months ago | |
| yoast/phpunit-polyfills | 0.75 | Polyfills to write PHPUnit tests compatible across versions. Provides traits, test cases, and utilities that bridge API changes so one test suite can run on PHPUnit 7.5–9 and 11–12. Requires PHP 7.1+. | 185 | 184 | 13 | 2M | 4 | 13.5 | 57.5 | BSD-3-Clause | 9 months ago | |
| beberlei/assert | 0.74 | Lightweight assertion library for validating method arguments and input data in PHP. Provides a fluent, readable API with many built-in rules (string, numeric, email, UUID, collection, etc.), clear exceptions, and easy extensibility for custom constraints. | 2,426 | 2,457 | 186 | 2M | 29 | 37.1 | 54.3 | NOASSERTION | 1 year ago | |
| sanmai/phpunit-legacy-adapter | 0.74 | Compatibility adapter for running legacy PHPUnit test suites on newer PHPUnit versions. Helps bridge API changes, keep older tests passing, and smooth migrations without rewriting everything. Suitable for maintaining long-lived PHP projects with outdated test setups. | 3 | 3 | 1 | 5K | 0 | 21.5 | 50.4 | Apache-2.0 | 1 month ago |
How can I help you explore Laravel packages today?