helmich/phpunit-json-assert
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.
|
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 | — | |
| sinnbeck/laravel-dom-assertions | 0.86 | 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 | |
| draw/data-tester | 0.86 | 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 | |
| lastdragon-ru/phpunit-extensions | 0.86 | 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 | — | |
| b2pweb/bdf-phpunit | 0.85 | 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 | 199 | 0 | 0.0 | 31.9 | MIT | — | |
| symfonycasts/internal-test-helpers | 0.85 | 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 | — | — | — | |
| testo/assert | 0.85 | 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 | — | — | |
| contributte/phpunit | 0.85 | 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 | |
| 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 | — | |
| atournayre/assert | 0.85 | — | 0 | 0 | 0 | 15 | 1 | 1.3 | 16.6 | MIT | 2 years ago | |
| 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. | 352 | 352 | 36 | 117K | 2 | 25.6 | 39.5 | — | 2 months ago | |
| lchrusciel/api-test-case | 0.84 | PHPUnit TestCase for Symfony API development. Extends WebTestCase with easy JSON/XML response matching (via php-matcher) and optional Alice/Doctrine fixtures loading. Supports a clear TDD workflow using expected response files and helpful diffs. | 411 | 410 | 40 | 122K | 11 | 25.7 | 43.2 | MIT | 4 months ago | |
| php-standard-library/json | 0.83 | php-standard-library/json provides JSON encode/decode helpers with sensible defaults and typed exceptions. Safer, clearer error handling than native json_encode/json_decode, ideal for consistent JSON handling in PHP apps and libraries. | 1 | 1 | 0 | 22K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| testo/testo | 0.83 | Testo is an extensible PHP testing framework with a lightweight core and middleware system. It lets you fully control your test environment while keeping familiar PHP syntax. Includes an init command, suite/plugin config via testo.php, and Composer scripts. | 0 | 181 | — | 2K | — | 42.2 | 26.4 | — | — | |
| herrera-io/json | 0.83 | PHP library for working with JSON data: read, write, validate, and manipulate JSON structures with a simple API. Useful for encoding/decoding, handling JSON files, and keeping JSON processing consistent across your applications. | 0 | 52 | — | 5K | — | 0.0 | 50.8 | — | — | |
| app-verk/api-test-cases | 0.83 | — | 1 | 1 | 4 | 0 | 0 | 3.1 | — | — | 4 years ago | |
| webmozart/assert | 0.83 | Lightweight PHP assertion library for validating method input/output. Provides fast, readable checks via Webmozart\Assert\Assert with consistent error-message placeholders, throwing InvalidArgumentException on failure. Ideal for safer, less repetitive validation code. | 7,650 | 7,718 | 161 | 12M | 23 | 64.8 | 60.4 | MIT | 2 weeks ago | |
| codeception/assert-throws | 0.82 | Adds assertThrows-style assertions to Codeception, letting you easily verify exceptions in tests. Assert the exception type and optionally message/code when running a callable, making negative-path testing clearer and less verbose. | 19 | 19 | 11 | 27K | 1 | 3.6 | 43.1 | MIT | 5 days ago | |
| loophp/phpunit-iterable-assertions | 0.81 | 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. | 2 | 2 | 0 | 481 | 1 | 2.7 | 34.3 | MIT | 2 years ago | |
| spatie/phpunit-snapshot-assertions | 0.78 | Add snapshot testing to PHPUnit. Assert strings, JSON, arrays, and objects against saved snapshots; first run writes snapshots, later runs compare and fail on regressions. Simple trait-based API (e.g., assertMatchesJsonSnapshot) for PHP and Laravel projects. | 695 | 698 | 74 | 579K | 0 | 33.4 | 46.9 | MIT | 1 month ago |
How can I help you explore Laravel packages today?