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.
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());
assertJsonSchema assertion for PHPUnit and PestHow can I help you explore Laravel packages today?