PHPackages                             marjovanlier/ecoflow - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. marjovanlier/ecoflow

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

marjovanlier/ecoflow
====================

A PHP library for working with EcoFlow data.

v1.0.4(2y ago)0591MITPHPPHP ^8.2

Since Mar 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MarjovanLier/EcoFlow)[ Packagist](https://packagist.org/packages/marjovanlier/ecoflow)[ Docs](https://github.com/marjovanlier/ecoflow)[ RSS](/packages/marjovanlier-ecoflow/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (17)Versions (9)Used By (0)

EcoFlow
=======

[](#ecoflow)

EcoFlow is a PHP library that provides functionality for interacting with the EcoFlow developer platform. It allows users to integrate their applications with EcoFlow devices and access various features and data provided by the platform.

Features
--------

[](#features)

- Authenticate and authorize with the EcoFlow developer platform
- Retrieve device information and status
- Control and monitor EcoFlow devices remotely
- Access energy flow data and metrics
- Perform device-specific actions and configurations

Installation
------------

[](#installation)

To install EcoFlow, you can use Composer, the dependency manager for PHP. Run the following command in your project directory:

```
composer require marjovanlier/ecoflow
```

Make sure you have Composer installed and your project's composer.json file is properly configured.

Usage
-----

[](#usage)

To use the EcoFlow library, you need to sign up for the EcoFlow developer program at . Once you have obtained your API credentials, you can start using the library in your PHP application.

Here's a basic example of how to use the EcoFlow library:

```
use Marjovanlier\EcoFlow\EcoFlow;

// Create a new instance of the EcoFlow class
$ecoFlow = new EcoFlow('your-api-key', 'your-api-secret');

// Retrieve a list of devices associated with your account
$devices = $ecoFlow->getDevices();

// Sets the permanent wattage of a device (100 for 10W)
$ecoFlow->setParams($deviceSn, 'WN511_SET_PERMANENT_WATTS_PACK', ['permanentWatts' => 100]);
```

Contributing
------------

[](#contributing)

Contributions to the EcoFlow library are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.

Licence
-------

[](#licence)

The EcoFlow library is open-source software licensed under the MIT licence.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

8

Last Release

768d ago

Major Versions

v0.0.3 → v1.0.02024-03-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/f9520b2d51b78f87c91816877be56013551a9ad34ed9b0a002465b22cd36892f?d=identicon)[MarjovanLier](/maintainers/MarjovanLier)

---

Top Contributors

[![MarjovanLier](https://avatars.githubusercontent.com/u/2212059?v=4)](https://github.com/MarjovanLier "MarjovanLier (26 commits)")

---

Tags

ecoflow

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/marjovanlier-ecoflow/health.svg)

```
[![Health](https://phpackages.com/badges/marjovanlier-ecoflow/health.svg)](https://phpackages.com/packages/marjovanlier-ecoflow)
```

###  Alternatives

[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[pixelopen/cloudflare-turnstile-bundle

A simple package to help integrate Cloudflare Turnstile on Symfony.

31205.8k3](/packages/pixelopen-cloudflare-turnstile-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
