Intervention / validation

Missing Laravel Validation Rules
https://validation.intervention.io
MIT License
590 stars 67 forks source link

Broken #1

Closed syphernl closed 11 years ago

syphernl commented 11 years ago

This one appears to have broken with the recent changes to the framework. I'm getting an error: Method [validateUsername] does not exist.

The provider is in place, so the validator should be picked up.

olivervogel commented 11 years ago

Make sure to replace:

'Illuminate\Validation\ValidationServiceProvider',

with:

'Intervention\Validation\ValidationServiceProvider'

in your config/app.php

syphernl commented 11 years ago

There must be a cleaner way of extending Laravel's validators with your own?

olivervogel commented 11 years ago

Let me know if you can figure it out.