PHPackages                             ielijose/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. ielijose/database

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

ielijose/database
=================

032PHP

Since Aug 28Pushed 11y ago1 watchersCompare

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

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:

```
