webmozarts/strict-phpunit
Enforces strict PHPUnit configuration for PHP projects using the Webmozart standards. Helps catch risky tests, deprecated usage, and unintended behavior by turning on stricter PHPUnit settings and providing an easy way to apply and maintain them across projects.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| composer-unused/symbol-parser | 0.85 | composer-unused/symbol-parser is a small toolkit that parses PHP symbols from a Composer package, helping tools like composer-unused detect what code is actually referenced. Useful for analyzing dependencies, exports, and usage across a project. | 15 | 15 | 13 | 279K | 0 | 21.8 | 61.6 | MIT | 4 months ago | |
| mnapoli/phpunit-easymock | 0.83 | A lightweight bridge between PHPUnit and EasyMock for PHP. Quickly create, replay, and verify mocks from your test cases with minimal boilerplate, helping you write clear unit tests using the familiar EasyMock-style workflow. | 38 | 38 | 4 | 1K | 0 | 24.8 | 20.8 | MIT | 1 year ago | |
| phpcsstandards/phpcsdevcs | 0.82 | phpcsdevcs provides a set of PHP_CodeSniffer rules and configuration to enforce consistent coding standards across PHP projects. Drop-in standards for PHPCS with sensible defaults, helping teams catch style issues early and keep code clean and uniform. | 9 | 9 | 1 | 8K | 4 | 14.5 | 44.7 | LGPL-3.0 | 5 months ago | |
| danog/class-finder | 0.81 | Fast PHP class discovery utility. Scan directories/files and find classes, interfaces, and traits without manually maintaining lists. Useful for autoload-based plugins, reflection tooling, and package indexing, with a simple API and minimal setup. | 12 | 12 | 4 | 5K | 0 | 0.2 | 35.9 | MIT | — | |
| codeception/util-universalframework | 0.80 | Universal helper utilities for the Codeception testing framework, providing lightweight, framework-agnostic components to simplify test setup and reuse across projects. A small add-on package aimed at boosting consistency and reducing boilerplate in automated tests. | 1 | 1 | 1 | 80K | 1 | 11.3 | 60.3 | MIT | 5 months ago | |
| phpunitgoodpractices/traits | 0.79 | 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. | 22 | 22 | 1 | 12K | 3 | 2.6 | 27.0 | MIT | 3 years ago | |
| lendable/phpunit-extensions | 0.79 | — | 2 | 2 | 0 | 3K | 2 | 17.8 | 49.5 | MIT | 3 months ago | |
| lastdragon-ru/phpunit-extensions | 0.79 | 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 | 0 | 0 | 0.0 | — | MIT | — | |
| phpstan/phpstan-webmozart-assert | 0.77 | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 184 | 184 | 33 | 649K | 6 | 12.6 | 50.5 | MIT | 1 year ago | |
| digitalrevolution/phpunit-extensions | 0.77 | — | 3 | 3 | 2 | 4K | 1 | 22.5 | 46.4 | MIT | 2 months ago | |
| sebastian/phpcpd | 0.76 | PHPCPD is a copy/paste detector for PHP that finds duplicated code (clones) across files and reports duplicate lines and locations. Distributed as a PHAR and installable via Phive. Note: this project is unmaintained and archived. | 2,213 | 2,253 | 189 | 391K | 0 | 8.4 | 21.9 | BSD-3-Clause | — | |
| phpunit/phpunit | 0.76 | 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 | |
| dms/phpunit-arraysubset-asserts | 0.76 | 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 | 519K | 3 | 5.3 | 52.4 | MIT | 2 years ago | |
| simplito/elliptic-php | 0.75 | Pure-PHP elliptic curve cryptography library for PHP. Provides ECDSA signing/verification and key generation on common curves (incl. secp256k1) with utilities for points, keys, and encodings—useful for blockchain, JWT, and other crypto workflows without extensions. | 230 | 233 | 52 | 76K | 10 | 5.5 | 37.4 | MIT | — | |
| phpstan/phpstan-phpunit | 0.74 | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 531 | 534 | 56 | 3M | 35 | 38.6 | 74.3 | MIT | 3 months ago | |
| yoast/phpunit-polyfills | 0.73 | 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 | |
| helmich/phpunit-json-assert | 0.71 | Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. | 129 | 129 | 27 | 77K | 3 | 19.0 | 43.7 | MIT | 3 months ago |
How can I help you explore Laravel packages today?