Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

sphereio/sphere-hello-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SPHERE.IO icon

PHP Hello API

Build Status

An example to authenticate your application to SPHERE.IO and get your products, using PHP and the Sphere PHP SDK.

Run SDK example

Add your project key, client id and secret to config.php.

# Install Composer if not installed yet
curl -sS https://getcomposer.org/installer | php

Next, run the Composer command to install the dependencies:

composer install

Then activate the php builtin web server

cd <project_folder>
php -S localhost:8000 -t sdk/

Now navigate to http://localhost:8000 in your browser.

Run RAW example

Add your project key, client id and secret to config.php.

Then activate the php builtin web server

cd <project_folder>
php -S localhost:8000 -t raw/

Now navigate to http://localhost:8000 in your browser.

About

Get started using the SPHERE.IO API with PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published