The Laravel Artisan Cheatsheet now has an API. Learn more.

db:show

Display information about the given database

Options

  • database - The database connection Optional
  • json - Output the database information as JSON Optional
  • counts - Show the table row count <bg=red;options=bold> Note: This can be slow on large databases </> Optional
  • views - Show the database views <bg=red;options=bold> Note: This can be slow on large databases </> Optional
php artisan db:show [--database [DATABASE]] [--json] [--counts] [--views]