Weave 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
Eloquence Validable

Eloquence Validable Laravel Package

wargog/eloquence-validable

Adds self-validating behavior to Laravel Eloquent models. Use the Validable trait to define validation rules directly on your models and validate automatically on save, keeping data integrity close to your domain logic.

View on GitHub
Deep Wiki
Context7

Eloquence Validable adds self-validating behavior to Laravel Eloquent models. By using the Validable trait, you declare validation rules directly on the model instead of scattering them across controllers or form requests—so every save(), create(), or update() call automatically validates attributes and rejects invalid data.

Rules are defined in a $rules property (with optional custom messages), keeping models the single source of truth for their own integrity.

  • Automatic validation on save, create, and update
  • Rules and messages declared on the model via $rules / $rulesets
  • Throws a standard ValidationException on failure
  • Works with existing Laravel validators and translations
  • Optional $validating / $validated events for custom logic
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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource