New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

samfelgar/metabase-dashboard

Laravel Nova tool for embedding Metabase dashboards
4,584 1
Install
composer require samfelgar/metabase-dashboard
Latest Version:3.0.0
PHP:^7.4|^8.0
Laravel:6 – 10
License:MIT
Last Updated:Sep 16, 2026
Links: GitHub  ·  Packagist
Maintainer: samfelgar

Metabase Dashboard

This packages provides a tool for embedding Metabase dashboards in your Laravel Nova application.

Install

Via Composer

composer require samfelgar/metabase-dashboard

Usage

First, you'll need a Samfelgar\MetabaseDashboard\DataTransferObjects\Dashboard instance. It receives four parameters: url, secret, resource and params.

PRO TIP: It's not advisable to keep secrets in your codebase. You can create a config file pointing to an environment variable and access it with config('your-config-file.secret').

$dashboard = new \Samfelgar\MetabaseDashboard\DataTransferObjects\Dashboard(
    'https://example.com',
    'your-secret',
    1, // resource id
    [
    'param' => 'value'
    ]
);

Then, on your App\Providers\NovaServiceProvider, you can register the tool:

IMPORTANT: You must pass a unique identifier as the first parameter, or else you may experience some weird behavior.

public function tools(): array
{
    return [
        (new \Samfelgar\MetabaseDashboard\MetabaseDashboard('uniqueIdentifier', $dashboard))
            ->label('Awesome Label')
            ->title('Awesome Title'),
    ];
}

TIP: You can instantiate more than one dashboard, just be sure to define a unique identifier for each of them.

Contributing

All contributions are welcome! Please open a PR.

Security

If you discover any security related issues, please email samfelgar@gmail.com or open an issue.

License

The MIT License (MIT).

Related Packages

yaroslawww/laravel-inertia-dashboard

Laravel inertia dashboard development kit for quicker MVP ot live projects.

6 0
epartment/nova-dependency-container

A Laravel Nova field container allowing to depend on other fields values

4,693,752 378
eminiarts/nova-tabs

Laravel Nova - Tabs.

4,610,439 464
ebess/advanced-nova-media-library

Laravel Nova tools for managing the Spatie media library.

3,857,876 616
spatie/nova-tags-field

A tags field for Nova apps

2,337,323 301

Version History

Version Released PHP Laravel License
3.0.0 ^7.4|^8.0 ^6.0|^7.0|^8.0|^9.0|^10.0 MIT
2.0.0 ^7.4|^8.0 ^6.0|^7.0|^8.0|^9.0 MIT
1.1.1 ^7.4|^8.0 ^6.0|^7.0|^8.0 MIT
1.1.0 ^7.4|^8.0 ^6.0|^7.0|^8.0 MIT
1.0.0 ^7.4 || ^8.0 ^6.0 || ^7.0 || ^8.0 || ^9.0 MIT