{"id":22117687,"url":"https://github.com/mooore-digital/ecurring-api-php","last_synced_at":"2025-08-05T11:07:06.752Z","repository":{"id":46300164,"uuid":"179657307","full_name":"mooore-digital/ecurring-api-php","owner":"mooore-digital","description":"eCurring API client library for PHP","archived":false,"fork":false,"pushed_at":"2021-11-01T10:04:02.000Z","size":121,"stargazers_count":6,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-01T14:45:33.715Z","etag":null,"topics":["ecurring","hacktoberfest","library","marissen","mollie","mooore","php","php-library","subscriptions"],"latest_commit_sha":null,"homepage":"","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/mooore-digital.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-04-05T09:50:01.000Z","updated_at":"2023-03-02T10:51:45.000Z","dependencies_parsed_at":"2022-09-19T09:11:52.344Z","dependency_job_id":null,"html_url":"https://github.com/mooore-digital/ecurring-api-php","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/mooore-digital/ecurring-api-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooore-digital%2Fecurring-api-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooore-digital%2Fecurring-api-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooore-digital%2Fecurring-api-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooore-digital%2Fecurring-api-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mooore-digital","download_url":"https://codeload.github.com/mooore-digital/ecurring-api-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mooore-digital%2Fecurring-api-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268883500,"owners_count":24323148,"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","status":"online","status_checked_at":"2025-08-05T02:00:12.334Z","response_time":2576,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ecurring","hacktoberfest","library","marissen","mollie","mooore","php","php-library","subscriptions"],"created_at":"2024-12-01T13:38:19.124Z","updated_at":"2025-08-05T11:07:06.730Z","avatar_url":"https://github.com/mooore-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# eCurring API client library for PHP\n\nThis is an unofficial library which provides PHP bindings for the eCurring API. \n\n[eCurring Home](https://www.ecurring.com/) | [eCurring API Documentation](https://docs.ecurring.com/)\n\nThis library is inspired by [Mollie API client for PHP](https://github.com/mollie/mollie-api-php). \n\n## Requirements\n\nIn order to use this library, you need:\n- An active eCurring account and API key.\n- PHP \u003e= 7.2\n\n## Installation\n\n```bash\ncomposer require mooore/ecurring-api-php\n```\n\n## Getting started\n\nInitializing the eCurring client\n\n```php\nuse Mooore\\eCurring\\eCurringHttpClient;\n\n$client = new eCurringHttpClient();\n$client-\u003esetApiKey('your_api_key');\n```\n\nCreating a customer\n\n```php\n$customer = $client-\u003ecustomers-\u003ecreate([\n    'first_name' =\u003e 'John',\n    'last_name' =\u003e 'Doe',\n    'email' =\u003e 'example@domain.com'\n]);\n```\n\nCreating a subscription from customer\n\n```php\n$customer = $client-\u003ecustomers-\u003eget(200);\n$subscription = $customer-\u003ecreateSubscription(1);\n```\n\nCreating a subscription from subscription plan\n\n```php\n$subscriptionPlan = $client-\u003esubscriptionPlans-\u003eget(1);\n$subscription = $subscriptionPlan-\u003ecreateSubscription(200);\n```\n\nGet all subscriptions\n\n```php\n$customers = $client-\u003ecustomers-\u003epage();\ndo {\n    foreach ($customers as $customer) {\n        if ($subscription-\u003eisActive()) {\n            // do something\n        }\n    }\n} while ($customers = $customers-\u003enext());\n```\n\n## Roadmap\n\n- Implement [Included resources](https://docs.ecurring.com/includes)\n- Implement [Sparse Fieldsets](https://docs.ecurring.com/sparse-fieldsets)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooore-digital%2Fecurring-api-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmooore-digital%2Fecurring-api-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmooore-digital%2Fecurring-api-php/lists"}