This package implements the unique and exists Laravel 4 validation rules for MongoDB.
Add navruzm/laravel-mongo-validation
as a requirement to composer.json:
{
"require": {
"navruzm/laravel-mongo-validation": "*"
}
}
And then run composer update
Once Composer has updated your packages open up app/config/app.php
and change Illuminate\Validation\ValidationServiceProvider
to MongoValidation\MongoValidationServiceProvider