Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Metabase Laravel Package

laravolt/metabase

Laravel integration for Metabase, making it easy to embed analytics dashboards and questions in your app. Configure connections, generate signed embed URLs, and secure access with minimal setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: laravolt/metabase is a thin Laravel integration package for embedding Metabase analytics via signed JWT URLs. It fits Laravel applications that want to expose dashboards inside an existing authenticated app without building custom Metabase SSO/embedding logic. The package likely provides configuration, a service provider, and helpers to generate signed embed URLs for use in iframes.
  • Integration feasibility: Feasible for standard Laravel stacks. Expected integration is composer require laravolt/metabase, publish configuration, set Metabase site URL and embedding secret, then generate a signed URL from a controller or Blade view. Release 0.4.2 does not advertise public API changes; it replaces the internal JWT library from lcobucci/jwt to firebase/php-jwt.
  • Technical risk: Medium-low. The JWT library swap affects token generation internals, not necessarily the package’s public contract. Key risks are subtle differences in claim handling, algorithm defaults, secret encoding, token expiry/leeway behavior, and Composer constraints. firebase/php-jwt is widely used and maintained, which is a supply-chain improvement, but the swap should be validated against the target Metabase embedding configuration.
  • Key questions: Which Laravel and PHP versions are supported after this change? Does the package expose JWT claims or signing configuration publicly? Are token claims and signing algorithm unchanged from 0.4.1? Is lcobucci/jwt fully removed from the dependency tree? Are there tests covering signed URL generation against Metabase? Does the new dependency introduce PHP version or framework constraints?

Integration Approach

  • Stack fit: Suitable for Laravel applications already using Metabase for embedded analytics. The package keeps JWT signing inside PHP/Laravel, so teams avoid a separate auth service. It should fit standard Composer-based deployment pipelines.
  • Migration path: For existing 0.4.1 users, update via Composer, clear Laravel config cache, and verify embedded dashboards in staging. No database migrations are expected. For new adopters, install the package, publish config, configure Metabase embedding secret and site URL, and generate a signed dashboard URL.
  • Compatibility: The Metabase-side contract should remain the same: a JWT signed with the shared embedding secret and passed to Metabase’s embedded dashboard URL. Confirm that environment/config keys remain stable and that token expiry and resource/claim parameters behave as before. Validate against the Metabase version in use.
  • Sequencing: 1) Pin and test 0.4.2 in a development environment. 2) Verify Composer resolution with the application’s PHP/Laravel constraints. 3) Generate a signed URL for a non-production dashboard. 4) Test iframe rendering, token expiry, and unauthorized-access behavior. 5) Promote to staging with production-like Metabase settings. 6) Release to production and monitor embedding failures.

Operational Impact

  • Maintenance: Positive. Replacing lcobucci/jwt with firebase/php-jwt reduces dependency surface and aligns with a widely used, actively maintained JWT implementation. Ongoing maintenance is mainly Composer updates and Metabase embedding-secret rotation.
  • Support: The package is small and community-maintained under Laravolt. Teams should retain the ability to fall back to direct JWT signing if the package lags Laravel or PHP releases. Document the Metabase admin contact and secret ownership.
  • Scaling: Good. JWT generation is stateless and lightweight; it scales horizontally with the Laravel app. No additional database or session storage is required for URL signing.
  • Failure modes: Invalid JWT signature, expired or clock-skewed tokens, wrong embedding secret, misconfigured Metabase site URL, disabled Metabase embedding, or Composer dependency conflicts after the library swap. These usually surface as blank iframes or Metabase authentication errors.
  • Ramp-up: Low for Laravel developers. A TPM should coordinate with the Metabase administrator to enable embedding, provision the shared secret, confirm dashboard permissions, and define a rollback path to the prior package version if 0.4.2 causes signing issues.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin