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. | 14 | 14 | 13 | 216K | 0 | 28.8 | 65.0 | MIT | 2 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 | 708 | 0 | 24.8 | 20.8 | MIT | 1 year ago | |
| phpcsstandards/phpcsdevcs | 0.82 | Opinionated PHP_CodeSniffer rules and tooling for consistent, modern PHP codebases. Includes custom standards and configs aimed at improving readability, preventing common pitfalls, and keeping teams aligned with automated linting in CI and local development. | 9 | — | 1 | — | 4 | 21.1 | 0.9 | LGPL-3.0 | 4 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 | 10 | 4 | 20K | 0 | 0.2 | 44.0 | MIT | — | |
| sirbrillig/phpcs-variable-analysis | 0.80 | Static analysis rules for PHP_CodeSniffer that detect undefined, unused, and improperly scoped variables in PHP code. Helps enforce cleaner code, catches subtle variable bugs early, and improves overall code quality in CI and local linting workflows. | 144 | 144 | 17 | 1M | 20 | 36.4 | 72.2 | NOASSERTION | 6 months ago | |
| 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 | 59K | 1 | 20.7 | 65.0 | MIT | 3 months ago | |
| wyrihaximus/makefiles | 0.79 | Generate and manage GNU Makefiles for PHP projects with sensible defaults and helpers. Simplifies common tasks like testing, linting, building, and CI-friendly workflows so you can standardize project automation with minimal setup. | 0 | — | 0 | — | 1 | 20.1 | — | — | 4 weeks 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 | 2 | 15K | 3 | 12.6 | 46.6 | MIT | 3 years ago | |
| dms/phpunit-arraysubset-asserts | 0.77 | 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. | 143 | 144 | 32 | 509K | 3 | 25.3 | 61.7 | MIT | 2 years 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 | 397K | 0 | 8.4 | 22.0 | BSD-3-Clause | — | |
| phpunit/phpunit | 0.76 | 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,011 | 20,525 | 2,234 | 13M | 53 | 88.0 | 72.7 | BSD-3-Clause | 1 day ago | |
| phpstan/phpstan-webmozart-assert | 0.76 | 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. | 183 | 183 | 33 | 633K | 6 | 32.7 | 60.2 | MIT | 1 year ago | |
| phperf/phpunit | 0.75 | 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. | 0 | 0 | 0 | 68 | 0 | 20.9 | 29.9 | NOASSERTION | 3 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. | 231 | — | 52 | — | 10 | 5.6 | 3.0 | 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. | 527 | 531 | 56 | 3M | 33 | 44.1 | 78.9 | MIT | 1 month ago | |
| eliashaeussler/phpunit-attributes | 0.74 | 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 | |
| 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+. | 183 | 183 | 13 | 1M | 4 | 29.8 | 64.0 | BSD-3-Clause | 7 months ago |
How can I help you explore Laravel packages today?