explaingit

myneid/laravel-db-tui

Analysis updated 2026-05-18

15PHPAudience · developerComplexity · 2/5Setup · easy

TLDR

A terminal UI tool for Laravel developers to browse, edit, and query database records without leaving the command line.

Mindmap

mindmap
  root((repo))
    What it does
      Terminal DB browser
      Inline row editing
      SQL editor
    Tech stack
      PHP
      Laravel
      MySQL Postgres SQLite
    Use cases
      Browse tables fast
      Edit rows in place
      Run custom queries
    Audience
      Laravel developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Browse database tables and rows directly from the terminal during Laravel development.

USE CASE 2

Edit a database value and save it back without switching to a separate GUI app.

USE CASE 3

Run custom SQL queries, including INSERT and DELETE, and see results inline.

USE CASE 4

Connect to any MySQL, PostgreSQL, or SQLite database with a saved connection URL.

What is it built with?

PHPLaravelMySQLPostgreSQLSQLite

How does it compare?

myneid/laravel-db-tuikukuhtw/toko_kopipetebishwhip/laradocs
Stars151515
LanguagePHPPHPPHP
Setup difficultyeasymoderateeasy
Complexity2/53/52/5
Audiencedeveloperpm founderdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires PHP 8.1+ and Laravel 10+.

In plain English

laravel-db-tui is a command-line tool for developers who work with Laravel, a popular PHP web framework. It solves a common frustration: when you need to quickly check database records, run a test query, or edit a value, you normally have to switch between your terminal, a separate GUI app like a database browser, and your code editor. This tool brings all of that directly into the terminal so you can stay in one place. Once installed and launched with a single command (php artisan db:tui), it opens an interactive split-screen view inside your terminal. On the left, you see a list of all the tables in your database. On the right, you see the rows in the selected table, paginated and scrollable. You can sort any column by pressing a number key, open a specific row to see all its fields, and even edit a value and save it straight back to the database without leaving the terminal. There is also a built-in SQL editor for running custom queries. You type a query, press Enter, and the results appear in the same interface. Any result row can be opened for a closer look. Non-read queries (such as INSERT or DELETE) work too, and the tool reports how many rows were affected. Beyond Laravel projects, the tool can connect to any MySQL, PostgreSQL, or SQLite database by providing a connection URL. Connections can be saved by name for quick reuse later. Mouse clicks and scroll are supported alongside keyboard navigation. It is written in PHP and requires PHP 8.1 or later and Laravel version 10 or newer.

Copy-paste prompts

Prompt 1
Show me how to install and launch laravel-db-tui with php artisan db:tui in my Laravel project.
Prompt 2
Explain how to sort table columns and open a row for detailed editing in this tool.
Prompt 3
Help me write and run a custom SQL query using the built-in SQL editor.
Prompt 4
How do I save a database connection URL for reuse in this terminal tool?

Frequently asked questions

What is laravel-db-tui?

A terminal UI tool for Laravel developers to browse, edit, and query database records without leaving the command line.

What language is laravel-db-tui written in?

Mainly PHP. The stack also includes PHP, Laravel, MySQL.

How hard is laravel-db-tui to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is laravel-db-tui for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.