PHPackages                             ognjen/laravel-validatable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Validation &amp; Sanitization](/categories/validation)
4. /
5. ognjen/laravel-validatable

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

ognjen/laravel-validatable
==========================

Validate eloquent model

v1.0.1(5y ago)05.8k↓78.6%1MITPHP

Since Nov 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/ognjen-petrovic/laravel-validatable)[ Packagist](https://packagist.org/packages/ognjen/laravel-validatable)[ RSS](/packages/ognjen-laravel-validatable/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

laravel-validatable
===================

[](#laravel-validatable)

Validate eloquent model before saving.

### Install

[](#install)

Require package with Composer:

```
composer require ognjen/laravel-validatable

```

### Usage example

[](#usage-example)

Define validation rules and messages on the model itself.

```
