staabm/side-effects-detector
Detects side effects in PHP code so you can safely eval or decide to isolate execution. Classifies effects (stdout, exit, includes/scope pollution, etc.) and flags unknown/userland calls as “maybe”. Used by PHPUnit to speed up PHPT tests.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zjkiza/http-response-validator | 0.83 | A Laravel/PHP package for validating HTTP responses in tests. It provides assertions to verify status codes, headers, and JSON payloads, helping you write reliable integration tests with clear, expressive checks. | 0 | 0 | 1 | 105 | 0 | 20.0 | 32.9 | MIT | 1 week ago | |
| jasonmccreary/phpunit-tia | 0.82 | phpunit-tia brings Test Impact Analysis to PHPUnit: it tracks which tests cover which code, then runs only the tests affected by your uncommitted changes. Skip the full suite, get faster feedback, and keep confidence in your changes. | 47 | 45 | 9 | 10K | 0 | 19.9 | 37.6 | MIT | 2 weeks ago | |
| php-stubs/acf-pro-stubs | 0.82 | PHP stubs for Advanced Custom Fields Pro, providing accurate function and class signatures so IDEs and static analysis tools like PHPStan and Psalm can offer autocompletion and type checking for ACF Pro APIs. | 74 | 76 | 13 | 94K | 3 | 13.2 | 47.5 | MIT | 5 months ago | |
| grifart/phpstan-oneline | 0.82 | A PHPStan extension that formats each reported error on a single line, making analysis output easier to read, search, and parse in CI logs or terminals. Useful for grep-friendly error reports and cleaner build output. | 24 | — | 5 | — | 1 | 0.5 | — | MIT | 1 year ago |
|
| php-static-analysis/phpstan-extension | 0.82 | A PHPStan extension for PHP projects that adds custom rules and configuration to strengthen static analysis. Integrate it with PHPStan to catch potential issues earlier, enforce coding standards, and improve overall code quality in your development workflow. | 15 | 15 | 0 | 2K | 0 | 0.1 | 30.0 | MIT | 1 year ago | |
| lsbproject/request-bundle | 0.82 | A lightweight Symfony bundle that streamlines request handling with clean abstractions for validation, data mapping, and typed request objects. It reduces controller boilerplate so you can focus on business logic. | 1 | 1 | 0 | 49 | 0 | 0.2 | 13.7 | MIT | 4 years ago | |
| guni/php-var-dump-check | 0.82 | A lightweight static analysis tool that scans PHP codebases for leftover debug calls such as var_dump(), print_r(), dd(), and dump(), helping catch them before they reach production. Easy to wire into CI for automated checks. | 0 | 0 | — | 316 | — | 0.0 | 34.6 | — | — | |
| bovigo/assert | 0.81 | Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. | 13 | 13 | 5 | 724 | 1 | 11.5 | 24.9 | BSD-3-Clause | 11 months ago | |
| goaop/parser-reflection | 0.81 | Parser Reflection brings PHP's Reflection API to static analysis: parse source files into an AST and introspect classes, methods, and properties without autoloading, including, or executing code. Drop-in compatible with native Reflection classes for analyzers, generators, and IDE tooling. | 101 | 101 | 50 | 30K | 4 | 27.1 | 40.7 | MIT | 4 days ago | |
| shipmonk/phpstan-dev | 0.81 | Utilities for developing PHPStan rules: write expected errors directly in fixture files using // error: comments and avoid brittle line-number assertions. Includes an autofix mode to generate/update inline error comments during rule development. | 7 | 7 | 1 | 6K | 1 | 7.2 | 41.5 | MIT | 9 months ago | |
| ta-tikoma/phpunit-architecture-test | 0.81 | 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. | 110 | 110 | 12 | 9M | 2 | 1.4 | 55.5 | MIT | — | |
| halleck45/php-metrics | 0.81 | PhpMetrics analyzes PHP projects and classes, producing a readable HTML report packed with code metrics like cyclomatic complexity, maintainability index, and coupling. Install it as a dev dependency via Composer and run it against any folder to spot risky code and track quality over time. | 2,616 | 2,603 | 261 | 3 | 2 | 46.2 | 0.9 | MIT | 2 months ago | |
| php-cs-fixer/accessible-object | 0.81 | AccessibleObject is a small PHP utility for reading and writing private or protected object properties and invoking non-public methods through a simple wrapper. It helps tests and tooling inspect internals without writing reflection boilerplate. | 11 | 11 | 1 | 26K | 0 | 0.1 | 46.1 | NOASSERTION | 1 year ago | |
| php-parallel-lint/php-var-dump-check | 0.81 | CI-friendly tool that scans your PHP code for leftover debugging statements like var_dump(), print_r(), die()/dd() and similar. Helps keep accidental dumps out of production by failing builds when debug output is found. | 22 | 22 | 11 | 43K | 5 | 2.7 | 47.3 | NOASSERTION | 6 years ago | |
| pestphp/pest-plugin-phpstan | 0.81 | A Pest plugin that brings PHPStan static analysis into your Pest test suite, letting you run and assert PHPStan results directly from tests. Integrate type and error checks into your workflow without leaving Pest. | 12 | 11 | 11 | 595K | 0 | 0.4 | 55.3 | MIT | — | |
| php-static-analysis/attributes | 0.81 | PHP attributes that let you annotate classes, methods, and properties with metadata for static analysis tools, improving type inference, purity checks, and IDE support. Lightweight, framework-agnostic, and easy to drop into existing codebases. | 94 | — | 0 | — | 0 | 0.5 | — | MIT | 1 year ago |
|
| phpstan/phpstan-php-parser | 0.81 | PHPStan extension for nikic/php-parser that adds precise type inference for AST nodes and visitors, improving static analysis of code that parses, traverses, or manipulates PHP source. | 23 | 23 | 8 | 19K | 1 | 0.3 | 28.3 | — | 4 years ago | |
| knplabs/phpspec-welldone-extension | 0.80 | A PhpSpec extension that adds a bit of encouragement to your test runs: when the whole suite passes, it prints a congratulatory "well done" message instead of leaving you with plain green output. Small, drop-in composer package that hooks into PhpSpec's event system to celebrate successful... | 6 | 6 | 1 | 109 | 1 | 0.1 | 11.9 | MIT | — | |
| spaze/phpstan-disallowed-calls | 0.80 | PHPStan rules to detect disallowed functions, methods, constants, namespaces, attributes, variables, and properties without running code. Catch leftover debug calls like var_dump() and enforce custom logging or API usage in production. | 346 | 341 | 23 | 807K | 3 | 32.4 | 54.7 | MIT | 3 weeks ago | |
| voku/phpstan-rules | 0.80 | Additional PHPStan rules to catch risky and redundant condition logic and comparisons. Detects double negatives, PHP 8 behavior changes (0 vs ''), insane/invalid comparisons (0=='0foo', 0==='0'), and type-mismatch checks (e.g., object vs non-object). | 33 | 33 | 1 | 7K | 1 | 0.5 | 32.1 | MIT | — |
How can I help you explore Laravel packages today?