PHP library for using Sphere Engine API
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Examples Merge branch 'master' of github.com:sphere-engine/php-client Mar 20, 2018
client-commons @ 810a9da added CompilerVersionId parameter Aug 30, 2018
src/Api added CompilerVersionId parameter Aug 30, 2018
tests added CompilerVersionId parameter Aug 30, 2018
.gitignore Corrected examples for API V3, instalation in readme Mar 20, 2018
.gitmodules client-commons submodule added for static files shared between clients Jan 12, 2017
.travis.yml
LICENSE Initial commit Oct 1, 2015
README.md readme Aug 30, 2018
composer.json update phpunit version Mar 20, 2018
phpunit.xml.dist Corrected examples for API V3, instalation in readme Mar 20, 2018

README.md

php-client

Build Status

The Sphere Engine platform features 60+ compilers of all the most popular programming languages. Starting from now, you can forget about setting up, maintaining and updating your own programming environment.

Our service lets you compile code online through our servers. The possibilities are endless: from mobile apps to education to online-enabled IDE's.

http://www.sphere-engine.com

Installation

Install php-client using Composer.

composer require sphereengine/php-client

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

Examples

You will find many examples in the Examples folder.

Unit tests

Run the following command to fetch data from submodules.

git submodule update --init --recursive

Please note that you need to have your ssh public key associated with your GitHub account to do this.

The API server is mocked. It's enough to run "phpunit" command in the base directory of the project to run unit tests.