Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-console-list-columns maintained by romanzipp

Description
List database tables columns & information.
Author
Last update
2026/10/11 11:30 (dev-master)
License
Links
Downloads
12 298

Comments
comments powered by Disqus

Laravel Console List Columns

Latest Stable Version Total Downloads License GitHub Build Status

When working with many database migrations you can quickly lose the overview about table structures. With this package you can get a simple overview about table and column information on your command line.

Installation

composer require romanzipp/laravel-console-list-columns

Configuration

Copy configuration to config folder:

php artisan vendor:publish --provider="romanzipp\ColumnList\Providers\ColumnListProvider"

Usage

php artisan db:cols
    {table}          Comma separated table names to print out
    {--connection=}  Specified database connection
    {--no-colors}    Don't use colors in output
    {--no-emojis}    Don't use emojis in output
php artisan db:cols users

Preview

Testing

./vendor/bin/phpunit