Skip to content

Database Explorer

Browse your database tables and track model activity directly in Laradebug.

Overview

The Database Explorer provides:

  • Table browser with filtering
  • Model activity timeline
  • Quick data inspection
  • No SQL required for basic exploration

Opening the Database Explorer

Access via the sidebar:

  1. Click the Database icon in the left sidebar
  2. Your project's database tables appear

Table Browser

Viewing Tables

Tables are listed alphabetically:

┌─────────────────────────────────────┐
│ Tables                              │
├─────────────────────────────────────┤
│ 📋 comments (1,234)                 │
│ 📋 migrations (15)                  │
│ 📋 posts (456)                      │
│ 📋 users (89)                       │
└─────────────────────────────────────┘

Each table shows its row count.

Browsing Data

Click a table to view its contents:

┌──────────────────────────────────────────────────┐
│ users                                    89 rows │
├────┬────────────┬─────────────────────┬──────────┤
│ id │ name       │ email               │ created  │
├────┼────────────┼─────────────────────┼──────────┤
│ 1  │ John Doe   │ john@example.com    │ Jan 15   │
│ 2  │ Jane Smith │ jane@example.com    │ Jan 16   │
│ 3  │ Bob Wilson │ bob@example.com     │ Jan 17   │
└────┴────────────┴─────────────────────┴──────────┘

Filtering

Use the search box to filter rows:

  • Search by any column value
  • Case-insensitive matching
  • Real-time results
Search: "john"

Results:
│ 1  │ John Doe   │ john@example.com    │ Jan 15   │
│ 45 │ Johnny App │ johnny@example.com  │ Mar 22   │

Pagination

Large tables are paginated:

Showing 1-50 of 1,234    < 1 2 3 ... 25 >

Navigate with:

  • Page number buttons
  • Previous/Next arrows
  • Jump to first/last

Model Activity Timeline

Track Eloquent model changes in real-time.

Enabling Activity Tracking

Activity tracking works automatically when you run code that modifies models.

Activity Panel

The timeline shows model events:

┌─────────────────────────────────────────────────┐
│ Activity                                        │
├─────────────────────────────────────────────────┤
│ 🟢 Created  User #89                    10:23   │
│    name: "New User"                             │
│    email: "new@example.com"                     │
├─────────────────────────────────────────────────┤
│ 🟡 Updated  Post #45                    10:22   │
│    title: "Old Title" → "New Title"             │
├─────────────────────────────────────────────────┤
│ 🔴 Deleted  Comment #123                10:21   │
└─────────────────────────────────────────────────┘

Built for Laravel developers.