Weave Code
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 Laravel Package

swaggest/json-schema

PHP library for JSON Schema (Draft 4/6/7): import schemas, validate JSON data, and define high-level PHP structures with schema-based rules. Supports $ref/definitions, formats, and detailed validation errors for robust data validation.

View on GitHub
Deep Wiki
Context7
0.12.41

Fixed

0.12.40

Fixed

0.12.39

Added

  • Polyfill dependency for mbstring extension.
0.12.38

Fixed

  • PHP 8.1 Deprecation notices with missing returns.
0.12.37

Added

  • InvalidValue now exposes data and constraint values for structured context of validation failure.

Fixed

  • Handling of multipleOf: 0.01 float precision.
0.12.36

Added

  • Optional properties mapping in names reflector.
0.12.35

Fixed

  • Suppressed failure during reference resolution in complex schemas.
0.12.34

Fixed

  • Suppressed failure during reference resolution.
0.12.33

Fixed

  • Disable validation for default and const values.
0.12.32

Fixed

  • Suppressed failure during validation in referenced schema.
0.12.31

Fixed

  • Missing support for null default values, #107.
0.12.30

Added

  • Support for full-date and full-time formats as aliases of date and time respectively.
0.12.29

Added

  • AJV and JSON Shema Test suites updated.

Fixed

  • Validating enum and const in case of float vs. int comparison for equal values.
  • Validation of time format edge cases.
0.12.28

Fixed

  • Trying to access array offset on value of type null in PHP 7.4, #101.
0.12.27

Fixed

  • PHP version check for empty property name support.
0.12.26

Fixed

  • Export additional and pattern properties, #97, #99.
0.12.25

Fixed

  • Validation always passes with invalid JSON schema, #96.
0.12.24

Fixed

  • Behavior of tolerateStrings when decoding bool and applying values to original data (now for real).
0.12.23

Fixed

  • Behavior of tolerateStrings when decoding bool and applying values to original data.
0.12.22

Added

  • Schema::unboolSchemaData and Schema::unboolSchema to public visibility.
0.12.21

Fixed

  • Treating unresolvable schema as a prohibitive false schema instead of failing with exception.
0.12.20

Changed

  • Export null value instead of skipping it for properties having null type.
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport