PHPackages                             way/database - 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. [Database &amp; ORM](/categories/database)
4. /
5. way/database

AbandonedLibrary[Database &amp; ORM](/categories/database)

way/database
============

276102.1k↓72.6%49[17 issues](https://github.com/JeffreyWay/Laravel-Model-Validation/issues)[3 PRs](https://github.com/JeffreyWay/Laravel-Model-Validation/pulls)PHP

Since Sep 23Pushed 9y ago12 watchersCompare

[ Source](https://github.com/JeffreyWay/Laravel-Model-Validation)[ Packagist](https://packagist.org/packages/way/database)[ RSS](/packages/way-database/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Auto-Validate On Save
=====================

[](#auto-validate-on-save)

This package takes care of the model validation process for you. Rather than manually going through the tedious `Validator::make(...)` process, just save the model, and this package will handle the rest.

Usage
-----

[](#usage)

Install the package through Composer.

```
{
    "require": {
        "laravel/framework": "4.0.*",
        "way/database": "dev-master"
    }
}
```

Then, rather than extending `Eloquent` from your model, extend `Way\Database\Model`, like so:

```
