title: How to send Multiple parameters in passes function of custom validation rule
body: <p>I am implementing a custom validation rule which should take another parameter with attribute and value in passes function of custom validation rule. As we implement Rule interface while writing custom validations, it does not allow us to add third parameter in passes function but I need third parameter. Moreover, I will feel happy if anyone can guide me about the best practice of including database in rule. Either we should include only desired model in rule if we need a table in custom validation rule or we should use Illuminate\Support\Facades\DB while writing queries in validation rules. I want the following format of passes function</p>
  
  <pre><code>public function passes($attribute, $value,$extraparam)
  {
      /*Code here*/
  }
  </code></pre>