PHPackages                             ipeevski/metabase-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ipeevski/metabase-php

ActiveLibrary[API Development](/categories/api)

ipeevski/metabase-php
=====================

Embedding Metabase

0.3.0(3y ago)24142.6k↓23.7%61MITPHP

Since Aug 21Pushed 3y ago3 watchersCompare

[ Source](https://github.com/ipeevski/metabase-php)[ Packagist](https://packagist.org/packages/ipeevski/metabase-php)[ Docs](https://github.com/ipeevski/metabase-php)[ RSS](/packages/ipeevski-metabase-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (14)Used By (1)

Library to embed [Metabase](http://www.metabase.com/) frames

Installation
============

[](#installation)

- Install via composer `composer require ipeevski/metabase-php`
- Go to Metabase and enable embedding - https://\[metabase\_url\]/admin/settings/embedding\_in\_other\_applications
- Note down the Metabase base url and the Embedding secret key

Usage
=====

[](#usage)

Basic usage
-----------

[](#basic-usage)

First, you need to find the dashboard or question you want to embed. Note down the id - it would be at the end of the URL (for example https://\[metabase\_url\]/dashboard/1?date=past26weeks

Note the integer after /dashboard/ - that's the ID of the dashboard. Also note the GET parameters at the end of the url - those are parameters you might want to pass to the dashboard too.

```
