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

Validation Laravel Package

laravel-json-api/validation

View on GitHub
Deep Wiki
Context7
4.4.0

Added

  • Package now supports Laravel 13.

Changed

  • Removed support for laravel-json-api/core v4.
4.3.0

Added

  • Package now supports Laravel 11 and 12.
4.2.0

Added

  • Package now requires laravel-json-api/core v4 or v5.

Fixed

  • Remove deprecation notices in PHP 8.4.
4.1.1

Fixed

  • laravel#287 Use array_shift to avoid potential problem introduced in Laravel.
3.0.1

Fixed

  • laravel#287 Use array_shift to avoid potential problem introduced in Laravel.
4.1.0

Added

  • New rule objects:
    • JsonArray - ensures a value is a zero-indexed array, i.e. it would have been an array in JSON.
    • JsonObject - ensures a value is an associative array, i.e. it would have been an object in JSON.
4.0.0

Changed

  • Package is now licensed under the MIT License.
  • BREAKING Package now requires Laravel 11.
  • Minimum PHP version is now 8.2.
3.0.0

Changed

  • Upgraded to Laravel 10 and set minimum PHP version to 8.1.
2.1.3

Fixed

  • The following rules all previously errored if a non-array value was provided. This is now fixed:
    • AllowedFieldSets
    • AllowedPageParameters
    • AllowedFilterParameters
  • The AllowedCountableFields rule now correctly passes an empty string.
2.1.2

Fixed

  • laravel#225 Fix AllowedFieldSets validation of an empty value (empty string or null) for a resource type's fields.
2.1.1

Fixed

  • Removed unused dynamic properties from two rule classes. These were causing deprecation failures in PHP 8.2.
2.1.0

Added

  • #8 Add Spanish and Brazilian Portuguese translations.
2.0.0

Changed

  • Package now supports Laravel 9.
  • Added return types to internal methods to remove deprecation messages in PHP 8.1.
  • Minimum laravel-json-api/core dependency version is now 2.0.
1.2.0

Added

  • #7 Add Italian translation files.
1.1.0

Added

  • New validation rules:
    • JsonNumber validates that the value is a number in JSON (i.e. integer or float), or just an integer.
    • JsonBoolean validates that the value is a boolean in JSON. It can also be used for query string parameters that will be filtered to booleans via its asString() method.
1.0.0

Initial stable release, with no changes from 1.0.0-beta.3.

1.0.0-beta.3

Fixed

  • #4 Ensure JSON pointer does not have a double slash when using the withSourcePrefix() method on the ValidatorErrorIterator class.
  • #3 Add missing return statement to the ValidatorErrorIterator::withSourcePrefix() method.
1.0.0-beta.2

Changed

  • Updated the AllowedSortParameters rule class to use renamed method on the Schema contract.
1.0.0-beta.1

Added

  • New AllowedCountableFields rule, which can be created via the Rule::countable and Rule::countableForPolymorph methods.
1.0.0-alpha.5

Added

  • New Rule::includePathsForPolymorph() method. This returns an include path rule that is configured to allow all the include paths for every inverse schema that a polymorphic relation has.

Fixed

  • The correct message is now set as the error detail when a query parameter is not supported. Previously the translation key was displayed instead of the translated message.
1.0.0-alpha.4

Added

  • The sparse field sets rule now rejects with a specific message indicating if any of the supplied resource types in the fields query parameter are not recognised.
1.0.0-alpha.3

Added

  • Added French translations for error messages.
1.0.0-alpha.2

Bugfix

  • #1 Added package discovery configuration to the composer.json.
1.0.0-alpha.1

Initial release.

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.
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle