Menu

A read-only SQL dashboard for Laravel
📰

A read-only SQL dashboard for Laravel

DEV Community: laravel·Amjad Iqbal·7 days ago
#qON0lldi
#devtolaravel#devto#dev#laravel#dashboard
Reading 0:00
15s threshold

Laravel SQL Dashboard is a self-hosted dashboard in the spirit of Rails' Blazer. Your team saves SQL queries, sees results as tables and charts, and gets alerts. It is built to be safe to leave on. Package page: docs and demo .

What you get

Saved queries with typed variables such as {since} and {status} , bound as parameters

Table results with CSV export, and line, bar or pie charts drawn as SVG on the server

Dashboards of several queries with shared variables

Scheduled checks every 5 minutes, hour or day, with mail alerts

An audit log of every run, with who ran it

Three layers of safety

A dialect-aware tokenizer allows one SELECT or WITH statement and refuses writes, INTO and a second statement.

The database's own read-only transaction refuses writes [1].

A check refuses a connection whose user can write.

Limits to know

Closed by default: every page is a 403 outside the local environment until you define the gates [2].

It is not a sandbox, and it does not hide columns.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.