loophp/phpunit-iterable-assertions
PHPUnit helper assertions for iterables. Adds convenient, fluent checks for arrays and Traversables to simplify and clarify test expectations when working with generators, collections, and other iterable data sources.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| lastdragon-ru/lara-asp-testing | 0.86 | Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| draw/tester | 0.85 | Tools for testing PHP apps: DataTester wraps PHPUnit assertions with a fluent, path-based API for arrays/objects. Includes PHPUnit extensions like CarbonReset to reset Carbon state between tests and SetUpAutowire to autowire test properties via attributes. | 0 | 0 | 0 | 2K | 0 | 0.0 | 44.8 | MIT | — | |
| lastdragon-ru/phpunit-extensions | 0.84 | 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 | — | |
| contributte/phpunit | 0.84 | PHPUnit integration helpers by Contributte for PHP projects. Provides lightweight tooling and conventions to simplify writing, running, and organizing tests, with sensible defaults and compatibility aimed at smoother CI and developer experience. | 1 | 2 | 2 | 1K | 0 | 11.9 | — | MIT | 5 months ago | |
| b2pweb/bdf-phpunit | 0.84 | Laravel/PHPUnit helper package for working with BDF/SEPA bank files in tests. Provides utilities and test assertions to validate BDF structures and parsing results, making it easier to write reliable unit tests around banking file imports. | 0 | 0 | 0 | 197 | 0 | 0.0 | 31.7 | MIT | — | |
| digitalrevolution/phpunit-extensions | 0.83 | — | 3 | 3 | 2 | 4K | 1 | 22.3 | 46.2 | MIT | 3 months ago | |
| symfonycasts/internal-test-helpers | 0.83 | Internal test utilities from SymfonyCasts to streamline PHPUnit and Symfony/Laravel package testing. Provides shared helpers, fixtures, and assertions used across SymfonyCasts projects to reduce boilerplate and keep tests consistent and readable. | 0 | — | 2 | — | 0 | 0.1 | — | — | — | |
| herrera-io/phpunit-test-case | 0.83 | PHPUnit TestCase class and Extras trait that add helpers for common test chores: create/delete temporary files and directories, call protected/private methods, and get/set protected/private properties. Use as a base class or mix into your own test case. | 1 | 1 | 0 | 77 | 0 | 0.0 | 15.6 | MIT | — | |
| rybakit/phpunit-extras | 0.83 | Handy extras for PHPUnit: custom constraints and assertions plus test helpers to write clearer, more expressive PHP tests. Drop-in utilities that reduce boilerplate and improve failure messages, fitting naturally into existing PHPUnit suites. | 47 | 47 | 1 | 827 | 0 | 0.3 | — | MIT | 3 years ago | |
| draw/data-tester | 0.83 | Lightweight PHP data testing helper for validating arrays/objects against expected shapes and values. Useful for unit tests and quick assertions, with simple matchers and readable failure messages to spot mismatches fast. | 0 | 0 | 0 | 0 | 0 | 0.6 | — | MIT | 8 years ago | |
| jasonmccreary/laravel-test-assertions | 0.83 | Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null. | 352 | 352 | 36 | 109K | 2 | 25.5 | 39.2 | — | 2 months ago | |
| phpunit/phpunit | 0.83 | 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 | |
| phpunit/dbunit | 0.83 | PHPUnit extension for database interaction testing. Provides DbUnit helpers for setting up database fixtures and asserting database state in tests. Install via Composer (dev) or PHAR. Note: this package is no longer maintained. | 223 | 245 | 184 | 56K | 9 | 5.0 | 25.4 | NOASSERTION | 11 years ago | |
| robiningelbrecht/phpunit-coverage-check | 0.83 | PHPUnit Coverage Check is a lightweight PHP tool to verify code coverage meets a required minimum. It reads PHPUnit coverage reports and fails builds when thresholds aren’t reached—useful for CI pipelines to enforce coverage standards in Laravel and PHP projects. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| helmich/phpunit-json-assert | 0.83 | 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 | 18.8 | 43.7 | MIT | 3 months ago | |
| bentools/iterable-functions | 0.80 | Small PHP utility package offering array-like helpers for any iterable (arrays, Traversable, generators): iterable_to_array/to_traversable, map, merge, reduce, filter, values, and chunk—write iterable-agnostic code without TypeError surprises. | 23 | 23 | 4 | 10K | 0 | 4.8 | 36.3 | MIT | 2 years ago | |
| sinnbeck/laravel-dom-assertions | 0.79 | Add fluent, expressive DOM assertions to your Laravel test suite. Parse HTML responses and assert elements, attributes, text, and structure with readable APIs—making feature and browser-style tests clearer and less brittle. | 106 | 106 | 10 | 15K | 0 | 29.6 | 34.8 | MIT | 2 weeks ago | |
| loophp/iterators | 0.77 | loophp/iterators adds “missing” PHP iterators and iterator aggregates for lazy, composable pipelines: caching rewindable generators, chunk/map/filter/reduce/sort/unique/concat/pack/unpack, plus typed, random, recursive, and resource-based iterables. | 37 | 38 | 6 | 28K | 1 | 9.6 | 39.6 | MIT | 1 year ago | |
| testo/assert | 0.77 | Assertion plugin for the Testo PHP testing framework. Adds a fluent assert/expect facade, expectation lifecycle, and helpers for matching thrown exceptions. Reports comparisons through Testo’s standard pipeline. Install via Composer: testo/assert. | 0 | 0 | 0 | 2K | 0 | 0.0 | 43.6 | — | — | |
| dms/phpunit-arraysubset-asserts | 0.75 | 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 | 3 years ago |
How can I help you explore Laravel packages today?