laracasts/Validation — pull request #16 by leitom (2014-08-30 12:50:55+00:00)
Title: Dynamic where rules

Allow for dynamic where rules example:

'email' => 'exists:staff,email,account_id,1'

rule will be: 'email' => 'exists:staff,email,account_id,{account_id}’

via ->validate($formData, [‘account_id’ => 1]);