{"id":13748849,"url":"https://github.com/ionafan2/selling-partner-api-php-sandbox","last_synced_at":"2025-05-09T11:31:27.093Z","repository":{"id":71421101,"uuid":"318013458","full_name":"ionafan2/selling-partner-api-php-sandbox","owner":"ionafan2","description":"Working PHP implementation of SP API. Just fill out .env file!","archived":false,"fork":false,"pushed_at":"2020-12-02T23:09:07.000Z","size":10,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-11-15T23:31:23.365Z","etag":null,"topics":[],"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/ionafan2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-12-02T22:55:17.000Z","updated_at":"2024-04-12T01:17:39.000Z","dependencies_parsed_at":"2024-04-10T21:33:21.493Z","dependency_job_id":"34cab885-f323-4037-a60a-34003c66107c","html_url":"https://github.com/ionafan2/selling-partner-api-php-sandbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionafan2%2Fselling-partner-api-php-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionafan2%2Fselling-partner-api-php-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionafan2%2Fselling-partner-api-php-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ionafan2%2Fselling-partner-api-php-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ionafan2","download_url":"https://codeload.github.com/ionafan2/selling-partner-api-php-sandbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253240350,"owners_count":21876593,"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":[],"created_at":"2024-08-03T07:00:50.822Z","updated_at":"2025-05-09T11:31:26.694Z","avatar_url":"https://github.com/ionafan2.png","language":"PHP","funding_links":[],"categories":["Docs"],"sub_categories":["Library"],"readme":"# SP API PHP Sandbox\nI guess you just like me, prefer to see working implementation instead of reading some documentation.\nSo here you are! Working PHP implementation of SP API. \nThis sandbox will show you all initial steps you need to do to lunch SP API in your project.\nIn my project we use Symfony to manage dependencies and properties and store AccessToken in DB.\nFeel free to contribute to this repo!\n\n## Requirements\n* Install [Composer](https://getcomposer.org/)\n* Complete this guide -\u003e [Registering as a developer](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/developer-guide/SellingPartnerApiDeveloperGuide.md#registering-as-a-developer)\n* Complete this guide -\u003e [Registering your Selling Partner API application](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/developer-guide/SellingPartnerApiDeveloperGuide.md#registering-your-selling-partner-api-application)\n\n## How to run?\n* Run `composer install`\n* Fill out [.env](.env) file\n* Follow [Self Authorization](https://github.com/amzn/selling-partner-api-docs/blob/main/guides/developer-guide/SellingPartnerApiDeveloperGuide.md#self-authorization) and receive `refresh_token`\n* Add `refresh_token` to [.env](.env) file\n* Run `index.php` and you should see a `var_dump` of orders data from API","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionafan2%2Fselling-partner-api-php-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fionafan2%2Fselling-partner-api-php-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fionafan2%2Fselling-partner-api-php-sandbox/lists"}