phperf/phpunit
phperf/phpunit is a lightweight PHPUnit extension aimed at profiling and performance measurement during test runs. Add simple hooks to capture timing and resource usage so you can spot slow tests and track performance regressions over time.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| ta-tikoma/phpunit-architecture-test | 0.83 | 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 | 107 | 12 | 4M | 2 | 1.3 | 55.1 | MIT | — | |
| php-mock/php-mock-phpunit | 0.80 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 171 | 174 | 20 | 263K | 4 | 22.2 | 49.9 | WTFPL | 4 months ago | |
| dms/phpunit-arraysubset-asserts | 0.80 | Polyfill for PHPUnit’s deprecated/removed assertArraySubset. Adds Assert::assertArraySubset() and a trait to keep existing tests working. Uses native PHPUnit behavior when available; provides the missing assertion for PHPUnit 8+ while supporting older versions. | 142 | 144 | 33 | 510K | 3 | 5.3 | 52.3 | MIT | 2 years ago | |
| wyrihaximus/react-phpunit-run-tests-in-fiber | 0.73 | PHPUnit trait to run each test inside a PHP Fiber, making it easy to use ReactPHP async/await in tests. Includes optional per-test or per-class timeout attributes to fail slow tests (without stopping the running fiber). | 0 | 0 | 0 | 15K | 1 | 1.6 | 56.0 | MIT | 1 year ago | |
| phpcompatibility/php-compatibility | 0.72 | PHPCompatibility is a PHP_CodeSniffer ruleset that scans PHP code for cross-version compatibility issues. Check support for specific PHP versions, detect deprecated/removed features, and audit projects when upgrading or maintaining multi-version support. | 2,290 | 2,304 | 205 | 2M | 87 | 55.9 | 69.7 | LGPL-3.0 | 6 months ago |
How can I help you explore Laravel packages today?