Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

38 lines (26 loc) · 1.17 KB

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.