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 | 437 | 0 | 0.0 | 36.0 | 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 | 3 | 0 | 0.0 | 8.3 | 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 | 9.9 | 41.9 | MIT | 8 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 | 407 | 0 | 0.0 | 36.1 | MIT | — | |
| 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 | 195 | 0 | 0.0 | 19.4 | MIT | — | |
| 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. | 351 | 351 | 36 | 140K | 2 | 21.9 | 39.6 | — | 6 months ago | |
| digitalrevolution/phpunit-extensions | 0.83 | — | 3 | 3 | 2 | 3K | 1 | 18.6 | 43.6 | MIT | 6 months 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 | 185 | 47K | 9 | 5.0 | 24.7 | 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 | — | |
| adroit11/laravel-tests | 0.83 | Reusable Laravel testing package with publishable test stubs, custom assertions, and helper utilities. Drop into Laravel 10/11 (PHP 8.1+) and run with PHPUnit or Pest to speed up common feature and integration testing setups. | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| 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. | 130 | 130 | 27 | 92K | 3 | 16.0 | 43.6 | MIT | 6 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 | 11K | 0 | 4.8 | 37.0 | MIT | 2 years ago | |
| atournayre/assert | 0.79 | — | 0 | 0 | 0 | 4 | 1 | 1.3 | 9.6 | MIT | 3 years 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. | 38 | 38 | 7 | 30K | 1 | 9.5 | 39.9 | MIT | 2 years 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 | 16K | 0 | 0.0 | 55.3 | — | — | |
| 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. | 145 | 146 | 33 | 493K | 3 | 5.3 | 52.0 | MIT | 3 years ago | |
| sinnbeck/laravel-dom-assertions | 0.75 | Extra DOM assertion helpers for Laravel HTTP tests. Assert elements, text, forms, selects, and datalists with more precision than assertSee/SeeText. Works with Livewire and Blade views/components; includes quick existence checks and a method reference. | 106 | 107 | 11 | 19K | 0 | 29.7 | 36.1 | MIT | 1 month ago |
How can I help you explore Laravel packages today?