PHPackages                             ut8ia/yii2-ecoclient - 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. ut8ia/yii2-ecoclient

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

ut8ia/yii2-ecoclient
====================

client library for ecotower aggregation server

19.2kPHP

Since Oct 10Pushed 6y ago2 watchersCompare

[ Source](https://github.com/ut8ia/yii2-ecoclient)[ Packagist](https://packagist.org/packages/ut8ia/yii2-ecoclient)[ RSS](/packages/ut8ia-yii2-ecoclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

yii2-ecoclient
==============

[](#yii2-ecoclient)

client library for ecotower service.

according to swagger api :

For installation add in composer json :
---------------------------------------

[](#for-installation-add-in-composer-json-)

```
    "ut8ia/yii2-ecoclient": "*",

```

set in params.php or params-local.php your prefix for tables names and credentials:
-----------------------------------------------------------------------------------

[](#set-in-paramsphp-or-params-localphp-your-prefix-for-tables-names-and-credentials)

```
'ecoclient' => [
    'dbTablesPrefix' => 'ecoclient_',
    'apikey' => 'kjS0h234o14SwN6go1ssr6P22nP3PMd4',
    'hashkey'=>'luef786642gg523465',
    'apihost' => 'https://api.ecotower-aggregator.org'
]

```

apply migrations :
------------------

[](#apply-migrations-)

./yii migrate --migrationPath=vendor/ut8ia/yii2-ecoclient/migrations

config module in main.php :
---------------------------

[](#config-module-in-mainphp-)

```
'modules' => [
...
        'ecoclient' => [
            'class' => 'ut8ia\ecoclient\modules\ecoclient\Ecoclient'
        ]
    ]

```

try to fetch reports from city by cron console call {city id}:
--------------------------------------------------------------

[](#try-to-fetch-reports-from-city-by-cron-console-call-city-id)

```
./yii ecoclient/retrieve/cityreport 1

```

also you can use web view example of your reports :
---------------------------------------------------

[](#also-you-can-use-web-view-example-of-your-reports-)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 51% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/957f597984d77ef788f0ffbbdfbef8c9a3e743b0afbd2fb1a779f2f028297b73?d=identicon)[ut8ia](/maintainers/ut8ia)

---

Top Contributors

[![shaperman](https://avatars.githubusercontent.com/u/10452998?v=4)](https://github.com/shaperman "shaperman (26 commits)")[![ut8ia](https://avatars.githubusercontent.com/u/6349837?v=4)](https://github.com/ut8ia "ut8ia (25 commits)")

### Embed Badge

![Health badge](/badges/ut8ia-yii2-ecoclient/health.svg)

```
[![Health](https://phpackages.com/badges/ut8ia-yii2-ecoclient/health.svg)](https://phpackages.com/packages/ut8ia-yii2-ecoclient)
```

PHPackages © 2026

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