Best laravel framework open-source packages.

Selling partner api php sandbox

Working PHP implementation of SP API. Just fill out .env file!
Updated 1 year ago

SP API PHP Sandbox

I guess you just like me, prefer to see working implementation instead of reading some documentation. So here you are! Working PHP implementation of SP API. This sandbox will show you all initial steps you need to do to lunch SP API in your project. In my project we use Symfony to manage dependencies and properties and store AccessToken in DB. Feel free to contribute to this repo!

Requirements

How to run?

  • Run composer install
  • Fill out .env file
  • Follow Self Authorization and receive refresh_token
  • Add refresh_token to .env file
  • Run index.php and you should see a var_dump of orders data from API
Tags env php