laravel/laravel — pull request #843 by AlexCogn (2012-06-21 12:06:29+00:00)
Title: Added DB::table(string TableName)->columns();

This will return all the column names of the table and their type.
$columns = DB::table('users')->columns();
foreach($columns as $column) {
echo "{$column->field}: {$column->type}
";
}
This will give you all columns in the 'users' table and their type.