sphereengine / php-client
PHP Client for Sphere Engine
Installs: 10 930
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 5
Forks: 6
Open Issues: 0
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^6.3
Requires (Dev)
- phpunit/phpunit: ~4.8||~6.0
- satooshi/php-coveralls: ~0.6.1
- squizlabs/php_codesniffer: ~2.0
README
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.
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.