PHPackages                             limelyltd/ecologi - 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. [API Development](/categories/api)
4. /
5. limelyltd/ecologi

ActiveLibrary[API Development](/categories/api)

limelyltd/ecologi
=================

An object oriented PHP wrapper for the Ecologi API

v1.0.2(4y ago)05MITPHPPHP ^7.4 || ^8.0

Since May 21Pushed 4y agoCompare

[ Source](https://github.com/Limely/ecologi-php)[ Packagist](https://packagist.org/packages/limelyltd/ecologi)[ Fund](https://ecologi.com/owenvoke?gift-trees)[ GitHub Sponsors](https://github.com/owenvoke)[ RSS](/packages/limelyltd-ecologi/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (14)Versions (4)Used By (0)

Ecologi PHP
===========

[](#ecologi-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/0c29010376dfff643ec7ae45dab6430b3703a59c96f1f61d050788239cf8481a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f77656e766f6b652f65636f6c6f67692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/ecologi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5c2ef0c573f51dc7ce8fa66a4bcfbb08bf83b3ac49b1fafa47ccb90e303bef0f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6f77656e766f6b652f65636f6c6f67692d7068702f54657374732e7376673f7374796c653d666c61742d737175617265)](https://github.com/owenvoke/ecologi-php/actions)[![Style CI](https://camo.githubusercontent.com/6e74fb929ab686afbc0f316a0451f14181978cfffa7f6780c5a7464a25d18863/68747470733a2f2f7374796c6563692e696f2f7265706f732f3336393438323330332f736869656c64)](https://styleci.io/repos/369482303)[![Total Downloads](https://camo.githubusercontent.com/6fa8246b41497c05e9a49bca2996a2ed1c4d25123fc40b6e35d5581373281aa6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f77656e766f6b652f65636f6c6f67692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/owenvoke/ecologi)[![Buy us a tree](https://camo.githubusercontent.com/910e097fe46a40add8f3484705ecbc26dc047df84b2fef027405f47408023d76/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54726565776172652d2546302539462538432542332d6c69676874677265656e3f7374796c653d666c61742d737175617265)](https://ecologi.com/owenvoke?gift-trees)

An object oriented PHP wrapper for the [Ecologi](https://ecologi.com) API

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- A [PSR-17 implementation](https://packagist.org/providers/psr/http-factory-implementation)
- A [PSR-18 implementation](https://packagist.org/providers/psr/http-client-implementation)

Install
-------

[](#install)

Via Composer

```
composer require owenvoke/ecologi guzzlehttp/guzzle:^7.0.1 http-interop/http-factory-guzzle:^1.0
```

We are decoupled from any HTTP messaging client with help by [HTTPlug](https://httplug.io).

Usage
-----

[](#usage)

**Documentation**

See the [`docs` directory](docs/) for more detailed documentation.

**Basic usage**

```
// Include the Composer autoloader
require_once __DIR__ . '/vendor/autoload.php';

$client = new \OwenVoke\Ecologi\Client();
$repositories = $client->report()->totalImpact('owenvoke');
```

**Authentication**

> Note: Ecologi only supports authentication via an API token.

```
use OwenVoke\Ecologi\Client;
$client = new Client();
$client->authenticate($apiToken, null, Client::AUTH_ACCESS_TOKEN);
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Owen Voke](https://github.com/owenvoke)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Treeware
--------

[](#treeware)

You're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.

It’s now common knowledge that one of the best tools to tackle the climate crisis and keep our temperatures from rising above 1.5C is to plant trees. If you support this package and contribute to the Treeware forest you’ll be creating employment for local families and restoring wildlife habitats.

You can buy trees [here](https://ecologi.com/owenvoke?gift-trees).

Read more about Treeware at [treeware.earth](https://treeware.earth).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~96 days

Total

3

Last Release

1623d ago

### Community

Maintainers

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

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (18 commits)")[![gavinlimely](https://avatars.githubusercontent.com/u/16940261?v=4)](https://github.com/gavinlimely "gavinlimely (2 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/limelyltd-ecologi/health.svg)

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

###  Alternatives

[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k22.6M232](/packages/openai-php-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[getbrevo/brevo-php

Official Brevo provided RESTFul API V3 php library

963.1M35](/packages/getbrevo-brevo-php)[m4tthumphrey/php-gitlab-api

GitLab API v4 client for PHP

9485.4M64](/packages/m4tthumphrey-php-gitlab-api)[deeplcom/deepl-php

Official DeepL API Client Library

2616.2M66](/packages/deeplcom-deepl-php)[jolicode/slack-php-api

An up to date PHP client for Slack's API

2534.4M12](/packages/jolicode-slack-php-api)

PHPackages © 2026

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