Skip to content

Latest commit

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

GamePanel.io PHP API Client

This library is a basic PHP implementation of the GamePanel.io API.

Installation

This library uses the HTTPlug HTTP client abstraction library - meaning you can use your favourite HTTP library with it!

For a quick and easy way to use this library in your project, via composer, run the following:

 composer require php-http/curl-client guzzlehttp/psr7 php-http/message gamepanelio/api

There is also lots of different libraries that you can use with HTTPlug. To see how to use different libraries please refer to the HTTPlug documentation.

Usage

Simply instantiate a new GamePanelio() class, and use the methods it provides:

<?phpuseGamePanelio\GamePanelio;
useGamePanelio\AccessToken\PersonalAccessToken;
$accessToken = newPersonalAccessToken("my-personal-access-token");
$gamepanelio = newGamePanelio("cool-name.mypanel.io", $accessToken);
$gamepanelio->createServer([
/* ... required parameters ... */
]);

License

This library is licensed under the MIT license. See the LICENSE file for more info.

About

πŸ”Œ A low-level PHP implementation of the GamePanel.io API

Topics

Resources

Stars

3 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages