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

Technical Evaluation

Architecture fit: Native Laravel integration with no architectural changes required. Rules extend Laravel's validation system seamlessly via class-based implementation, fitting perfectly within existing FormRequest and controller validation patterns. Minimal coupling with application code through dependency injection.

Integration feasibility: Straightforward via Composer installation with auto-registration. Minor dependency on league/iso3166 for CountryCode/Currency rules (explicitly documented). Clear examples in README reduce implementation complexity. No service provider configuration needed.

Technical risk: Low overall risk due to Spatie's established maintenance

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