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

Php Tibber Api Client Laravel Package

webproject-xyz/php-tibber-api-client

PHP client for the Tibber GraphQL API. Fetch real-time electricity prices, hourly rates, consumption, and cost data through a clean, typed interface. Handles authentication and queries so you can integrate Tibber energy data into your PHP or Laravel app quickly and reliably.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for energy features. The package wraps Tibber's GraphQL API — homes, real-time spot prices, hourly/quarter-hourly consumption and production, live meter readings, and EV charger / smart-device data. That maps directly to concrete roadmap items: dynamic-tariff cost calculators, price-forecast widgets, "cheapest hours to charge/run appliances" automation, consumption dashboards, and monthly cost/savings reporting. Reading the client's surface area is a fast way to size what's cheap to ship versus what needs custom GraphQL work.
  • Build vs. buy. Building this in-house is a small but non-zero commitment: GraphQL query design, pagination, typed response mapping, token handling, and keeping up with Tibber's schema changes. A maintained client is a reasonable "buy" (adopt) decision if your needs are read-oriented and covered by its query set. If your differentiator is deep write-side control (charging schedules, device commands, subscription push handling), plan for a thin in-house layer or contributions upstream — the package is a starting point, not a moat.
  • Market/TAM gating. Tibber's customer base is concentrated in the Nordics, Germany and the Netherlands. This package only earns roadmap priority if those geographies are in your target segment; otherwise it's a niche integration to defer and a signal to keep the energy-data layer provider-agnostic.
  • Architecture and vendor-risk posture. This is a framework-agnostic PHP client, not a Laravel package — no service provider, facade, config publishing, or queue/event integration. Adopting it means a small internal wrapper (config binding, token storage, caching of price data, retry/timeout policy, error mapping). That wrapper is the actual product decision; the package is an implementation detail behind it, which keeps you portable to raw HTTP or Saloon later.
  • Operational decisions. Real-time prices and live measurements need caching and rate-limit budgets; personal access tokens are per-user secrets that need encryption at rest and revocation flows. Deciding to adopt implies committing to those non-functional requirements, not just the dependency.
  • Maintenance signal from this release. 1.0.1 is a patch that only bumps and updates dependencies — no new features, no breaking changes, no deprecations. It's a positive (someone is watching upstream and security advisories) but carries no product weight. Do not plan roadmap around it; do keep the lockfile pinned and re-run integration tests after the bump, since a transitive dependency update is the most common source of silent behavior change in a thin client like this.

When to Consider This Package

Adopt it when:

  • You are building on Laravel/PHP and need read-only Tibber data (prices, consumption, homes, live measurements) rather than complex device control.
  • Your users are in Tibber's active markets and dynamic tariffs are a genuine product requirement, not a "nice to have."
  • You want to avoid maintaining GraphQL plumbing and are comfortable owning a thin Laravel wrapper around the client (config, container binding, caching, token encryption, error handling).
  • You can accept the maintainer and bus-factor risk of a small, single-vendor OSS project — mitigated by the fact that the contract is HTTP/GraphQL and therefore replaceable.

Look elsewhere or build directly when:

  • You need write operations or real-time subscriptions (WebSocket push) that the client doesn't expose; go straight to Tibber's GraphQL API or a dedicated Saloon connector you control.
  • You require multi-provider energy data (e.g. ENTSO-E, other suppliers) — introduce your own abstraction now rather than leaking this client's types into your domain.
  • You need hard SLAs, support contracts, or guaranteed schema-tracking — a community client can't provide that; budget internal ownership.
  • The license or dependency tree doesn't clear your legal/security review, or the package's release cadence shows long unmaintained gaps. A single patch-level dependency bump is a mild positive signal, not sufficient due diligence on its own — check commit history, issue responsiveness, and CI before committing.
  • Your stack isn't PHP — nothing here transfers.

How to Pitch It (Stakeholders)

To executives: This is a small, low-cost open-source PHP client that gives us read access to Tibber's energy data — spot prices, consumption, and live meter readings — for customers in the Nordics, Germany and the Netherlands. It lets us ship dynamic-price features (cost dashboards, cheapest-hours-to-charge recommendations) in weeks rather than quarters, because we're not building the API integration from scratch. The trade-off is vendor risk: it's a small community project, so we'll wrap it in our own thin layer to keep us portable — if it stalls, we swap the implementation without touching product code. The 1.0.1 release is a routine dependency update with no functional or breaking changes; it confirms the project is being looked after, and it does not change scope, cost, or timeline. Recommendation: proceed, scoped to read-only features in supported markets, behind an internal abstraction.

To engineering: Treat it as a library, not a framework integration — no service provider, facade, or config publishing ships with it, so we own the Laravel glue: a singleton binding, encrypted per-user token storage, a cache layer for price data with sane TTLs, timeouts/retries and typed error mapping. Keep its types out of our domain models so the Tibber dependency stays replaceable by raw HTTP or Saloon. Pin the version and cover the adapter with contract tests against recorded fixtures; the 1.0.1 dependency bump is exactly the kind of change that should be validated by those tests rather than assumed safe. Flag any write-path or subscription requirements early — those fall outside this package and become our own GraphQL work.

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.
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console