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
Json Schema Assertions

Json Schema Assertions Laravel Package

sixlive/json-schema-assertions

Laravel testing helpers that validate JSON responses against JSON Schema. Adds readable assertions like assertJsonSchema to your test suite, letting you verify API response structure with reusable schema definitions instead of long chains of array assertions.

Deep Wiki
Context7

sixlive/json-schema-assertions adds expressive JSON Schema assertions to your PHP/Laravel test suite. Instead of manually comparing arrays or writing brittle expectations, you can verify that a response or data structure conforms to a declared schema with a single, readable assertion.

$this->assertJsonSchema('user.json', $response->json());
  • Simple assertJsonSchema assertion for PHPUnit and Pest
  • Loads schemas from files or inline definitions
  • Works with Laravel HTTP tests and raw arrays
  • Clear failure messages pinpointing schema violations
  • Composer-installable with minimal setup
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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource