Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Phpunit Iterable Assertions Laravel Package

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
draw/tester 0.84 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 1K 0 0.0 43.0 MIT —
View on GitHub
herrera-io/phpunit-test-case 0.84 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 32 0 0.0 12.0 MIT —
View on GitHub
testo/assert 0.84 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 — —
View on GitHub
Context7
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 28 0 0.0 20.2 MIT —
View on GitHub
helmich/phpunit-json-assert 0.84 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 10.8 42.3 MIT 8 months ago
View on GitHub
jasonmccreary/laravel-test-assertions 0.84 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. 349 351 38 140K 2 17.5 38.6 — 7 months ago
View on GitHub
phpunit/dbunit 0.84 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. 222 245 183 52K 9 5.0 25.2 NOASSERTION 11 years ago
View on GitHub
rawr/phpunit-data-provider 0.83 PHPUnit data provider helper for PHP tests. Simplifies building and organizing datasets, supports readable, reusable providers, and makes parameterized tests easier to maintain. Works with PHPUnit to generate cases cleanly and consistently. 66 66 5 29K 2 2.2 36.6 MIT 2 years ago
View on GitHub
loophp/iterators 0.83 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
View on GitHub
php-standard-library/iter 0.83 Inspect and reduce any PHP iterable (arrays, generators, iterators) with small, focused helpers from PHP Standard Library - Iter. Designed for common iteration tasks and consistent behavior across iterable types. 1 1 0 50K 0 21.5 64.8 MIT 1 week ago
View on GitHub
php-ds/tests 0.83 Test suite for php-ds, validating core data structure behavior, edge cases, and performance across releases. Includes PHPUnit-based coverage for vectors, maps, sets, queues, stacks, and iterators to ensure consistent, reliable API compatibility. 10 10 15 247 0 11.9 20.5 — 6 months ago
View on GitHub
phpspec/prophecy-phpunit 0.83 Integrates the Prophecy mocking library with PHPUnit for simpler, cleaner test doubles. Install via Composer and use the ProphecyTrait to call prophesize() inside your TestCase, set method predictions/returns, and reveal mocks for injection. 195 195 39 1M 1 11.7 56.7 MIT 8 months ago
View on GitHub
phpunit/phpunit 0.83 PHPUnit is a programmer-oriented testing framework for PHP, an xUnit architecture instance for unit testing. Install via PHAR or Composer. 0 20,591 — 27M — 15.0 55.3 — —
View on GitHub
imanghafoori/laravel-makesure 0.83 — 21 21 3 43 1 1.0 6.5 MIT 2 years ago
View on GitHub
spatie/phpunit-snapshot-assertions 0.83 Snapshot testing for PHPUnit: assert values match stored snapshots for JSON, strings, arrays, and more. Snapshots are created automatically on first run and compared on subsequent runs. 698 703 76 996K 0 24.8 47.3 MIT 6 months ago
View on GitHub
maks3w/phpunit-methods-trait 0.82 PHP trait exposing PHPUnit TestCase helper methods for use inside reusable test traits. Lets traits call mocking, expectations, and other TestCase APIs without extending TestCase directly; assertions are via PHPUnit\Framework\Assert. 1 2 1 14 0 2.8 12.5 NOASSERTION 5 years ago
View on GitHub
spatie/tabular-assertions 0.82 Write readable “tabular assertions” for Pest or PHPUnit by describing expected data as a Markdown-like table and comparing it to actual arrays/collections. Ideal for ordered datasets like time series, financials, or database rows, with clear diffs. 60 60 0 11K 0 0.9 31.1 MIT 2 years ago
View on GitHub
phpunit/php-invoker 0.82 phpunit/php-invoker is a small utility for safely invoking callables with time limits. Commonly used by PHPUnit to run tests and other code with a timeout, helping prevent hangs while keeping execution and error handling predictable. 1,352 1,359 18 15M 1 13.8 58.2 BSD-3-Clause 9 months ago
View on GitHub
phpstan/phpstan-phpunit 0.82 PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. 546 550 58 6M 34 44.3 79.3 MIT 4 weeks ago
View on GitHub
bovigo/assert 0.82 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
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib