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

Laravel Validation Rules Laravel Package

spatie/laravel-validation-rules

Handy Laravel validation rules by Spatie: Authorized (policy checks), CountryCode, Currency, Enum, ModelsExist, and Delimited. Installs via Composer, auto-registers, and supports publishing translations for customization.

View on GitHub
Deep Wiki
Context7
3.4.4

Add Laravel 13 support

3.4.2
3.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-validation-rules/compare/3.2.2...3.3.0

3.2.1
  • fix chaining doNotTrimItems
3.2.0
3.1.1
  • fix custom validation messages on delimited rule
3.1.0
  • add ISO4217 currency validation rule (#48)
3.0.0
  • move iso3166 package to suggest
2.7.1
  • add support for PHP 8
2.7.0
  • support custom error messages (#44)
2.6.1
  • add support for Laravel 8
2.6.0
  • adds the ability to specify an auth guard, and uses route name resolution for models (#41)
2.5.2
  • fix translation (#40)
2.5.1
  • fix nested attributes validation (#38)
2.5.0
  • add support for Laravel 7
2.4.0
  • add support for Laravel 6
2.3.4
  • fix validation messages
2.3.3
  • fix for determining the amount of value in the Delimited rule
2.3.1
  • fix for validating arrays
2.3.0
  • added Delimited
2.3.2
  • fix for delimiting rule with a minimum of 1
2.1.1
  • use PHPUnit 8 to run tests
2.1.0
  • add CountryCode rule for ISO3266 country codes
2.0.0
  • move all validation message translations to the validation.* group to be more consistent with Laravel
  • add relevant data for each rule to validation message translations (see message method for each rule)
1.0.3
  • fix Enum rule
1.0.2
  • fix typo in validation message
1.0.1
  • fix Authorized rule
1.0.0
  • initial release
What's
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