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

opis/json-schema

Opis JSON Schema validates JSON documents against JSON Schema drafts 2020-12 to 06. Includes custom errors, PHP filters, schema reuse/mappers, slots, pointers, URI templates, $data, casting, and custom formats/media types.

View on GitHub
Deep Wiki
Context7
2.6.0
  • improved string length calculation
2.5.0
  • fixed deprecation warnings
  • added php 8.5 to tests
1.2.0
  • fixed deprecation warnings
  • added support for php 8.4
  • minimum php version is now 7.4
2.4.1

Fixes

  • minor fixes to Helper::isMultipleOf() (#126)

Also see changes in 2.4.0

2.4.0

Fixed

  • enhanced multipleOf, you can now use Helper::$numberScale and Helper::$useBCMath properties (#123)
  • fixed maxLength: 0 bug (#133)
  • fixed error formatter (#144)
  • fixed date-time related filters when using a timezone

Added

2.3.0

Added

  • sub-errors for oneOf keyword #98

Fixed

  • #100
  • #96
2.2.0

Added

  • Opis\JsonSchema\Errors\CustomError - you can throw a CustomError exception from filters or formats to provide a custom error message
  • Opis\JsonSchema\CompliantValidator - a validator class that disables custom keywords of opis/json-schema (such as filters), making the validation compliant with the default json-schema behaviour

Fixed

  • #82
  • #90
2.1.0

Added new parser options.

2.0.1

Bugfix:

  • infinite recursion in Helper::convertAssocArrayToObject()
2.0.0

This major release is a ground-up rewrite of the library. For more details on how to upgrade to this version, please take a look at our migration guide.

1.0.19
1.0.18

patternProperties fix

1.0.17

Fixed typo

1.0.16

URI bugfix

1.0.15

Fixed File loader

1.0.14

Bugfix

1.0.13

Added additional checks to date related formats.

1.0.12

Fixed date-time format

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