speedybrain / kongregate
A simple helper to communicate with the Kongregate Server Side API
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/speedybrain/kongregate
Requires
- php: ^5.3.3 || ^7.0
This package is auto-updated.
Last update: 2025-12-29 02:51:51 UTC
README
This is a simple helper to communicate with the Kongregate Server Side API via PHP.
Installation
Install the latest version with
$ composer require speedybrain/kongregate
Usage
composer require speedybrain/kongregate
The Kongregate Class has a static function for every Server Side API Endpoint, so there is no need to create an object. Every function will return an instance of HttpResponse
Example 'High Scores'
use SpeedyBrain\Kongregate\Kongregate; $response = Kongregate::highscores('weekly',22544); if($response->success()) { $highscores = $response->parsedBody(); }
About
License
This package is licensed under the GPL-3.0 License - see the LICENSE file for details.