title: Laravel - Extending the validation library
body: <p>I was wondering if someone could help me out.</p>
  
  <p>Im writing a small application that allows people to signup for membership.</p>
  
  <p>I have a plan which is paid.</p>
  
  <p>I use the in build validation library to validate the name and password, but how can i extend that to validate credit card details the same way.</p>
  
  <p>For example</p>
  
  <pre><code>$rules = array(
      'cardnumber' =&gt; 'required|legitcardnum'
  );
  </code></pre>
  
  <p>So i can use it with the inbuilt library?</p>
  
  <p>Any help would be greatly appreciated.</p>
  
  <p>Cheers,</p>