{"id":26664782,"url":"https://github.com/dspacelabs/ecwid-client","last_synced_at":"2026-03-05T19:03:04.367Z","repository":{"id":56972938,"uuid":"93971785","full_name":"dSpaceLabs/ecwid-client","owner":"dSpaceLabs","description":"Ecwid PHP Client","archived":false,"fork":false,"pushed_at":"2017-07-11T00:01:05.000Z","size":20,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T20:45:52.878Z","etag":null,"topics":["ecwid","php-client"],"latest_commit_sha":null,"homepage":null,"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/dSpaceLabs.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":"2017-06-10T23:57:01.000Z","updated_at":"2020-01-17T14:26:48.000Z","dependencies_parsed_at":"2022-08-21T10:20:50.225Z","dependency_job_id":null,"html_url":"https://github.com/dSpaceLabs/ecwid-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dSpaceLabs/ecwid-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dSpaceLabs%2Fecwid-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dSpaceLabs%2Fecwid-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dSpaceLabs%2Fecwid-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dSpaceLabs%2Fecwid-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dSpaceLabs","download_url":"https://codeload.github.com/dSpaceLabs/ecwid-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dSpaceLabs%2Fecwid-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30144700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ecwid","php-client"],"created_at":"2025-03-25T16:38:33.483Z","updated_at":"2026-03-05T19:03:04.328Z","avatar_url":"https://github.com/dSpaceLabs.png","language":"PHP","readme":"Ecwid PHP Client [![Build Status](https://travis-ci.org/dSpaceLabs/ecwid-client.svg?branch=master)](https://travis-ci.org/dSpaceLabs/ecwid-client)\n================\n\n[Ecwid](https://www.ecwid.com/) PHP Client used for interacting with Ecwid's\nAPI.\n\n## Requirements\n\n* PHP cURL Extension\n* PHP \u003e= 5.6\n* [dspacelabs/http-client](https://github.com/dSpaceLabs/http-client)\n* [dspacelabs/http-message](https://github.com/dSpaceLabs/http-message)\n  * Or any other PSR-7 compliant library\n\n## Installation\n\n```bash\ncomposer require \"dspacelabs/ecwid-client:~0.1@dev\"\n```\n\n## Usage\n\n```php\n\u003c?php\n\nuse Dspacelabs\\Component\\Ecwid\\Client;\n\n$client = new Client($clientId, $clientSecret);\n```\n\n## Examples\n### Getting Access Token\n\nReference: https://developers.ecwid.com/api-documentation/external-applications\n\n```php\nuse Dspacelabs\\Component\\Http\\Message\\Uri;\n\n$redirectUri = new Uri('https://www.example.com/myapp');\n\n// @var array $response\n$response = $client-\u003egetAccessToken('temp_code', $redirectUri);\n$accessToken = $response['access_token'];\n```\n\n### Sending Raw Requests\n\nIf you need to send a raw request and get a raw response you have access to do\nso. For example:\n\n```php\n// @var \\Dspacelabs\\Component\\Http\\Message\\Request  $request\n// @var \\Dspacelabs\\Component\\Http\\Message\\Response $response\n$response = $client-\u003esendWithRequest($request);\n```\n\nThe Request object MUST be PSR-7 compliant and the Response object that this\nclient returns is PSR-7 compliant.\n\nSending raw requests provides the greatest flexibility, but is very low level.\n\n## Change Log\n\nSee [CHANGELOG.md](https://github.com/dSpaceLabs/Ecwid/blob/master/CHANGELOG.md)\n\n## License\n\nSee [LICENSE](https://raw.githubusercontent.com/dSpaceLabs/Ecwid/master/LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdspacelabs%2Fecwid-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdspacelabs%2Fecwid-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdspacelabs%2Fecwid-client/lists"}