title: How to get columns types in Laravel 5.2?
body: <p>I got this code in my view to get the columns of a specific table </p>
  
  <pre><code>$columns = \Schema::getColumnListing('posts')
  </code></pre>
  
  <p>So I made a <code>foreach</code> loop to get all columns' names. But now I'm making a CRUD generator so I'll need the column type to know which type of fields I'll make for it. The code above just gave me the columns' names. How can I get also the column type?</p>
  
  <p>Update:
  I searched for the file which contains getColumnListing method and I found a method called <code>getColumnType($table, $column)</code>. It returns a string.</p>
  
  <p>I tried to use it but i got this error:</p>
  
  <p><code>FatalErrorException in MySqlConnection.php line 64:
  Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found</code></p>