{"id":28925764,"url":"https://github.com/ipeevski/metabase-php","last_synced_at":"2026-01-13T23:44:34.419Z","repository":{"id":55464042,"uuid":"100918520","full_name":"ipeevski/metabase-php","owner":"ipeevski","description":"Library to embed Metabase frames","archived":false,"fork":false,"pushed_at":"2023-05-18T02:17:08.000Z","size":22,"stargazers_count":24,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-27T15:10:44.000Z","etag":null,"topics":["metabase"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ipeevski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-21T06:08:55.000Z","updated_at":"2025-08-23T10:01:35.000Z","dependencies_parsed_at":"2025-06-22T11:11:38.383Z","dependency_job_id":"80349097-dbcb-4ccb-8664-13995aab2144","html_url":"https://github.com/ipeevski/metabase-php","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/ipeevski/metabase-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipeevski%2Fmetabase-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipeevski%2Fmetabase-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipeevski%2Fmetabase-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipeevski%2Fmetabase-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ipeevski","download_url":"https://codeload.github.com/ipeevski/metabase-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ipeevski%2Fmetabase-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405190,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["metabase"],"created_at":"2025-06-22T11:10:17.315Z","updated_at":"2026-01-13T23:44:34.414Z","avatar_url":"https://github.com/ipeevski.png","language":"PHP","funding_links":[],"categories":["Related Third Party Projects"],"sub_categories":["Unofficial and Third Party Examples"],"readme":"Library to embed [Metabase](http://www.metabase.com/) frames\n\n# Installation\n- Install via composer\n`composer require ipeevski/metabase-php`\n- Go to Metabase and enable embedding - https://[metabase_url]/admin/settings/embedding_in_other_applications\n- Note down the Metabase base url and the Embedding secret key\n\n# Usage\n## Basic usage\n\nFirst, 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\n\nNote the integer after /dashboard/ - that's the ID of the dashboard.\nAlso note the GET parameters at the end of the url - those are parameters you might want to pass to the dashboard too.\n\n\n```\n\u003c?php\ninclude 'vendor/autoload.php';\n\n// The url of the metabase installation\n$metabaseUrl = '[metabase_url]';\n// The secret embed key from the admin settings screen\n$metabaseKey = '[metabase_key]';\n// The id of the dashboard (from the url)\n$dashboardId = 1;\n// Any parameters to pass to the dashboard\n$params = ['date' =\u003e 'past26weeks'];\n\n$metabase = new \\Metabase\\Embed($metabaseUrl, $metabaseKey);\n// Generate the HTML to create an iframe with the embedded dashboard\necho $metabase-\u003edashboardIframe($dashboardId, $params);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipeevski%2Fmetabase-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fipeevski%2Fmetabase-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fipeevski%2Fmetabase-php/lists"}