t3chw1zard / emporia-connect
A framework-agnostic PHP client for the Emporia Vue energy monitoring API.
v0.1.0
2026-06-23 07:41 UTC
Requires
- php: ^8.2
- ext-bcmath: *
- guzzlehttp/guzzle: ^7.0
- psr/simple-cache: ^3.0
Requires (Dev)
- laravel/pint: ^1.0
- phpstan/phpstan: ^2.0
- phpunit/phpunit: ^11.0
- rector/rector: ^2.0
This package is auto-updated.
Last update: 2026-06-23 08:30:42 UTC
README
A framework-agnostic PHP 8.2+ client for the Emporia Vue energy monitoring API. A full PHP port of PyEmVue.
Installation
composer require t3chw1zard/emporia-connect
Guzzle is included automatically. No additional HTTP client needed.
Usage
use T3chW1zard\EmporiaConnect\EmporiaConnect; use T3chW1zard\EmporiaConnect\Enums\Scale; $client = EmporiaConnect::client( username: 'user@example.com', password: 'secret', ); $customer = $client->customers()->me(); $devices = $client->devices()->all(); $usage = $client->channels()->usage(12345, '1', Scale::MINUTE);
See docs/laravel.md and docs/symfony.md for framework integration.