{
  "id": 21417288,
  "title": "A read-only SQL dashboard for Laravel",
  "url": "https://urgent.news/2026/11/23/a-read-only-sql-dashboard-for-laravel",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-23T15:30:01.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/amjadiqbal/a-read-only-sql-dashboard-for-laravel-417e"
  },
  "original_language": "en",
  "account": "Laravel SQL Dashboard is a self-hosted monitoring tool inspired by Rails' Blazer. It allows your team to store SQL queries, view results as tables and charts, and receive alerts. The dashboard is designed to be secure and can be left running without worry. The package page provides documentation and a demo.\n\nWith Laravel SQL Dashboard, you can save queries that include typed variables like {since} and {status}, which are treated as parameters during execution. The results are displayed as tables, and you have the option to export them to CSV. Additionally, the dashboard supports line, bar, or pie charts drawn as SVG graphics on the server.\n\nThe dashboard can host multiple queries, each with shared variables, and allows for scheduled checks every 5 minutes, hour, or day. These checks trigger mail alerts to keep your team informed. An audit log records every run, including the user who initiated it.\n\nSafety is a priority in Laravel SQL Dashboard. It employs a dialect-aware tokenizer that allows only one SELECT or WITH statement and rejects writes, INTO, and any second statement. The database's read-only transaction further prevents writes. A connection where the user has write privileges is also denied. The dashboard is closed by default, accessible only within the local environment until you define specific gates.\n\nBy default, every page returns a 403 error outside the local environment until you set up the necessary gates. The dashboard does not operate as a sandbox and does not hide columns. To maintain security, grant the read-only user access only to the tables that your team requires.\n\nSlack alerts are implemented but have not been thoroughly tested with real Slack. The package is installed using Composer's require command, followed by running php artisan migrate to set up the necessary database tables. The dashboard is licensed under MIT and requires PHP 8.3 or higher and Laravel 12 or 13.\n\nThe task scheduling feature of Laravel is utilized to run the scheduled checks. For more information, visit the source on GitHub.",
  "summary": "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…",
  "key_points": [
    "Laravel SQL Dashboard is a self-hosted monitoring tool inspired by Rails' Blazer",
    "Users can save queries with typed variables for parameterized execution",
    "Dashboard employs read-only transactions and alerts via mail for security"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}