{"id":21846104,"url":"https://github.com/owenvoke/ecologi-php","last_synced_at":"2025-06-27T23:03:03.949Z","repository":{"id":57034394,"uuid":"369482303","full_name":"owenvoke/ecologi-php","owner":"owenvoke","description":"An object oriented PHP wrapper for the Ecologi API","archived":false,"fork":false,"pushed_at":"2023-04-20T09:01:12.000Z","size":42,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-18T16:16:37.193Z","etag":null,"topics":["api","ecologi","php"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/owenvoke/ecologi","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/owenvoke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"owenvoke","custom":"https://ecologi.com/owenvoke?gift-trees"}},"created_at":"2021-05-21T09:24:14.000Z","updated_at":"2021-10-28T15:18:22.000Z","dependencies_parsed_at":"2025-04-16T00:33:24.114Z","dependency_job_id":null,"html_url":"https://github.com/owenvoke/ecologi-php","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/owenvoke/ecologi-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fecologi-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fecologi-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fecologi-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fecologi-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owenvoke","download_url":"https://codeload.github.com/owenvoke/ecologi-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owenvoke%2Fecologi-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262347470,"owners_count":23296893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","ecologi","php"],"created_at":"2024-11-27T23:12:53.701Z","updated_at":"2025-06-27T23:03:03.933Z","avatar_url":"https://github.com/owenvoke.png","language":"PHP","funding_links":["https://github.com/sponsors/owenvoke","https://ecologi.com/owenvoke?gift-trees"],"categories":[],"sub_categories":[],"readme":"# Ecologi PHP\n\n[![Latest Version on Packagist][ico-version]][link-packagist]\n[![Software License][ico-license]](LICENSE.md)\n[![Build Status][ico-github-actions]][link-github-actions]\n[![Static Analysis][ico-static-analysis]][link-static-analysis]\n[![Total Downloads][ico-downloads]][link-downloads]\n[![Buy us a tree][ico-treeware-gifting]][link-treeware-gifting]\n\nAn object oriented PHP wrapper for the [Ecologi][link-ecologi] API\n\n## Requirements\n\n- PHP \u003e= 8.2\n- A [PSR-17 implementation](https://packagist.org/providers/psr/http-factory-implementation)\n- A [PSR-18 implementation](https://packagist.org/providers/psr/http-client-implementation)\n\n## Install\n\nVia Composer\n\n```shell\ncomposer require owenvoke/ecologi guzzlehttp/guzzle:^7.5 http-interop/http-factory-guzzle:^1.2\n```\n\nWe are decoupled from any HTTP messaging client with help by [HTTPlug](https://httplug.io).\n\n## Usage\n\n**Documentation**\n\nSee the [`docs` directory](docs/) for more detailed documentation.\n\n**Basic usage**\n\n```php\n// Include the Composer autoloader\nrequire_once __DIR__ . '/vendor/autoload.php';\n\n$client = new \\OwenVoke\\Ecologi\\Client();\n$repositories = $client-\u003ereport()-\u003etotalImpact('owenvoke');\n```\n\n**Authentication**\n\n\u003e Note: Ecologi only supports authentication via an API token.\n\n```php\nuse OwenVoke\\Ecologi\\Client;\n$client = new Client();\n$client-\u003eauthenticate($apiToken, null, Client::AUTH_ACCESS_TOKEN);\n```\n\n## Change log\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Testing\n\n```shell\ncomposer test\n```\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security\n\nIf you discover any security related issues, please email security@voke.dev instead of using the issue tracker.\n\n## Credits\n\n- [Owen Voke][link-author]\n- [All Contributors][link-contributors]\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n## Treeware\n\nYou're free to use this package, but if it makes it to your production environment you are required to buy the world a tree.\n\nIt’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.\n\nYou can buy trees [here][link-treeware-gifting].\n\nRead more about Treeware at [treeware.earth][link-treeware].\n\n[ico-version]: https://img.shields.io/packagist/v/owenvoke/ecologi.svg?style=flat-square\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n[ico-github-actions]: https://img.shields.io/github/actions/workflow/status/owenvoke/ecologi-php/tests.yml?branch=main\u0026style=flat-square\u0026label=Tests\n[ico-static-analysis]: https://img.shields.io/github/actions/workflow/status/owenvoke/ecologi-php/static.yml?branch=main\u0026style=flat-square\u0026label=Static%20Analysis\n[ico-downloads]: https://img.shields.io/packagist/dt/owenvoke/ecologi.svg?style=flat-square\n[ico-treeware-gifting]: https://img.shields.io/badge/Treeware-%F0%9F%8C%B3-lightgreen?style=flat-square\n\n[link-ecologi]: https://ecologi.com\n[link-packagist]: https://packagist.org/packages/owenvoke/ecologi\n[link-github-actions]: https://github.com/owenvoke/ecologi-php/actions\n[link-static-analysis]: https://github.com/owenvoke/ecologi-php/actions/workflows/static.yml\n[link-downloads]: https://packagist.org/packages/owenvoke/ecologi\n[link-treeware]: https://treeware.earth\n[link-treeware-gifting]: https://ecologi.com/owenvoke?gift-trees\n[link-author]: https://github.com/owenvoke\n[link-contributors]: ../../contributors\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fecologi-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowenvoke%2Fecologi-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowenvoke%2Fecologi-php/lists"}