Laravel Packages

DevDB - Access your database right inside VS Code!

Published

DevDb is a lightweight VS Code extension that provides a database GUI client and displays the data and schema details directly in the editor:

This package supports SQLite, MySQL, and PostgreSQL, including a zero-config option where the extension auto-detects the database used. The zero-configuration option is helpful because you configure the database via the project's .env file, and DevDb automatically knows how to connect instead of having to configure a separate database tool.

You can also configure your (supported) database manually via a configuration file, which you could version control for an easy local setup. For example, if you provide a Docker MySQL service as part of your project, DevDb can automatically connect to the running Docker container.

A convenient feature for Laravel, specifically, is navigating from a model to the model's database content via Code Lense (View table):

The DebDb extension is available in the Visual Studio Marketplace, or you can install it inside of VS Code via the Extensions by searching for "Devdb."

You can also check out this package's source source code on GitHub.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Unlearn.dev goes free for a weekend, October 10 and 11 image

Unlearn.dev goes free for a weekend, October 10 and 11

Read article
Tashil: Laravel Subscription Plans and Feature Usage Limits image

Tashil: Laravel Subscription Plans and Feature Usage Limits

Read article
Decide with Jev: Laravel AI That Answers with a Probability image

Decide with Jev: Laravel AI That Answers with a Probability

Read article
JetBrains Air: Run AI Coding Agents in JetBrains IDEs image

JetBrains Air: Run AI Coding Agents in JetBrains IDEs

Read article
Memoize Tagged Cache Reads in Laravel image

Memoize Tagged Cache Reads in Laravel

Read article
Eloquent Refreshes: Load Generated Columns After Save image

Eloquent Refreshes: Load Generated Columns After Save

Read article