laravel/laravel — pull request #848 by AlexCogn (2012-06-22 16:51:32+00:00)
Title: Laravel columns

Signed-off-by: Alexander Cogneau

```php
$columns = DB::table('users')->columns();
foreach($columns as $column) {
echo "{$column->column_name}: {$column->column_type}
";
}
```
This will give you all columns in the 'users' table and their type.