title: Laravel 5 - Validating Mime types
body: <p>I have an uploader that works fine without rules, 
  but when i create a rule i get the error:</p>
  
  <pre><code>LogicException in MimeTypeGuesser.php line 127:
  Unable to guess the mime type as no guessers are available 
  (Did you enable the php_fileinfo extension?)
  </code></pre>
  
  <p>My article request rules</p>
  
  <pre><code>/**
   * Get the validation rules that apply to the request.
   *
   * @return array
   */
  public function rules()
  {
      return [
  
          'Image' =&gt; 'required|mimes:jpeg'
  
      ];
  }
  </code></pre>
  
  <p>My form</p>
  
  <pre><code>{!! Form::open(['url' =&gt; 'blog', 'files'=&gt; true]) !!}
      &lt;div class="form-group"&gt;
      {!! Form::label('Image', 'Upload:') !!}
      {!! Form::file('Image', null, ['class' =&gt; 'form-control']) !!}
  &lt;/div&gt;
  &lt;div class="form-group"&gt;
      {!! Form::submit('Submit', ['class' =&gt; 'btn btn-primary form-control']) !!}
  &lt;/div&gt;  
  {!! Form::close() !!}
  </code></pre>