johnbillion/falsey-assertequals-detector
Detects incorrect use of assertEquals() with falsey values in PHPUnit tests. This PHP_CodeSniffer ruleset flags comparisons like assertEquals(false, $value) and encourages the stricter assertFalse() and assertTrue() alternatives for clearer, safer tests.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| nicolasguilloux/phpunit-dependency-injection-bundle | 0.86 | A PHPUnit dependency injection bundle that lets tests resolve services from a container instead of constructing dependencies manually. Keeps test classes lean and setup simple for container-based PHP apps. Low adoption, so expect limited docs and community support. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| yoanm/php-unit-extended | 0.86 | A PHPUnit extension for PHP that adds extra test helpers and assertions, reducing boilerplate and making unit tests clearer and easier to maintain alongside PHPUnit's built-in features. | 0 | 0 | 0 | 68 | 0 | 0.1 | 25.4 | MIT | 3 years ago | |
| mattiasgeniar/phpunit-query-count-assertions | 0.85 | Add PHPUnit/Pest assertions to count and analyze SQL queries in tests. Catch N+1 issues, duplicate queries, slow queries, missing indexes (EXPLAIN), row count problems, and Laravel lazy loading. Supports Laravel 11/12, Doctrine DBAL 4, and Phalcon 6+. | 165 | 164 | 8 | 44K | 0 | 15.9 | 35.6 | MIT | 8 months ago | |
| codeception/lib-asserts | 0.85 | Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. | 105 | 105 | 5 | 2M | 1 | 12.3 | 58.0 | MIT | 9 months ago | |
| phpunit/phpunit-dom-assertions | 0.85 | Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. | 29 | — | 13 | — | 1 | 6.3 | — | NOASSERTION | 8 months ago |
|
| codeception/assert-throws | 0.85 | Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message. | 19 | 19 | 11 | 26K | 1 | 15.8 | 47.6 | MIT | 5 months ago | |
| eloquent/phony-phpunit | 0.84 | Integration of the Phony mocking/stubbing library with PHPUnit, providing helpers to use Phony in your test suite. Note: this package is no longer maintained; see the linked statement and consider alternatives or the main Phony repo. | 6 | 6 | 3 | 713 | 0 | 1.6 | 19.7 | MIT | 5 years ago | |
| realrashid/cart | 0.84 | A flexible shopping cart package for Laravel with session and database storage, multiple cart instances, item conditions, quantities, and total calculations. Add products, update items, apply conditions, and persist carts for logged-in users through a simple API. | 112 | — | 7 | — | 0 | 9.1 | — | MIT | 7 months ago | |
| stephenjude/api-test-helper | 0.84 | stephenjude/api-test-helper is a Laravel package that streamlines API testing with convenient helpers and expressive assertions for HTTP and JSON responses. It reduces boilerplate around authentication, request building, and response checks, helping you write cleaner, faster, more reliable API test... | 47 | — | 1 | — | 0 | 0.3 | — | MIT | 3 years ago | |
| crodas/phpunit-compat | 0.84 | A PHPUnit compatibility package that helps bridge version differences, making test suites easier to run across varied PHPUnit environments with fewer compatibility issues. | 0 | 0 | 0 | 15 | 0 | 0.0 | 16.6 | — | — | |
| pkly/phpunit-service-create-trait | 0.84 | A PHPUnit 12+ trait (PHP 8.4+) that builds real service instances with auto-mocked constructor and #[Required] dependencies. Dependencies stay as invisible stubs until fetched, so you only get mock verification where you ask for it. | 0 | 0 | 0 | 289 | 0 | 20.8 | 39.4 | MIT | 1 month ago | |
| florianrambur/discord-webhook | 0.84 | A lightweight Laravel/PHP package for sending messages to Discord webhooks. Post notifications, alerts, and rich embeds through a simple API, with easy integration for Laravel apps and standalone PHP projects. Connect app events and monitoring to Discord channels with minimal setup. | 10 | — | 1 | — | 0 | 19.6 | — | MIT | 2 weeks ago | |
| dms/phpunit-arraysubset-asserts | 0.84 | 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. | 144 | 147 | 34 | 598K | 3 | 5.3 | 53.2 | MIT | 3 years ago | |
| rector/rector-phpunit | 0.84 | Rector rules for PHPUnit that automate test suite upgrades. Modernize assertions, replace deprecated APIs, and keep tests compatible across PHPUnit versions through automated, configurable refactoring—no manual edits required. | 117 | 117 | 76 | 42K | 0 | 2.9 | 35.3 | MIT | — | |
| symfony/phpunit-bridge | 0.84 | PHPUnit Bridge adds utilities on top of PHPUnit, with a focus on managing deprecation notices in your test suite. It helps you track, report, and fix deprecations so your code stays compatible with future Symfony and PHP versions. | 2,463 | 2,468 | 47 | 4M | 0 | 47.9 | 52.6 | MIT | 1 week ago | |
| k2gl/phpunit-fluent-assertions | 0.84 | A PHPUnit extension that adds fluent, chainable assertions to your tests, making expectations more readable and expressive while reducing verbose assertion code and keeping familiar PHPUnit workflows. | 2 | 2 | 0 | 586 | 0 | 17.3 | 36.4 | MIT | 1 month ago | |
| nathanheffley/laravel-slack-blocks | 0.83 | A Laravel package for building Slack Block Kit messages with a fluent PHP API. Compose blocks, elements, and attachments cleanly, then send rich, interactive Slack notifications without hand-writing JSON payloads. | 49 | — | 13 | — | 1 | 0.5 | — | MIT | 5 years ago | |
| ikechukwukalu/makeservice | 0.83 | Laravel package that adds a make:service Artisan command to scaffold dedicated service classes, helping keep controllers and models lean by moving business logic into reusable, testable services. A lightweight way to organize application code and speed up development. | 5 | — | 2 | — | 0 | 16.5 | — | MIT | 2 months ago | |
| sebastian/peek-and-poke | 0.83 | sebastian/peek-and-poke is a small PHP utility that uses reflection to peek at and poke into objects. It lets you read and write private and protected properties, making it handy for tests that need to inspect or set up object state without changing production code. | 36 | 34 | 8 | 117 | 1 | 0.3 | 6.0 | NOASSERTION | — | |
| mll-lab/laravel-query-log | 0.83 | Laravel Query Log records the database queries your Laravel app executes, helping you inspect SQL, bindings, and timing during development and debugging. A lightweight way to see what runs behind the scenes. | 4 | — | 0 | — | 0 | 0.2 | — | MIT | 4 years ago |
How can I help you explore Laravel packages today?