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 →
Fluent Rule Builders for All Laravel Validation Rules image

Fluent Rule Builders for All Laravel Validation Rules

Read article
Laravel URL AI Transformer: Extract Structured Data From URLs image

Laravel URL AI Transformer: Extract Structured Data From URLs

Read article
Rule Builders for Every Validation Rule in Laravel 13.36 image

Rule Builders for Every Validation Rule in Laravel 13.36

Read article
PHP News: A New Site for PHP Releases, RFCs, and Packages image

PHP News: A New Site for PHP Releases, RFCs, and Packages

Read article
Pause Polling in Background Tabs in Inertia.js v3.9 image

Pause Polling in Background Tabs in Inertia.js v3.9

Read article
Look What You Helped Me Build image

Look What You Helped Me Build

Read article