Download the PHP package gameye/gameye-sdk-php without Composer

On this page you can find all versions of the php package gameye/gameye-sdk-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package gameye-sdk-php

Gameye SDK for PHP

Latest Stable Version Total Downloads License

Create eSport and competitive matches for Counter-Strike: Global Offensive, Team Fortress 2, Left 4 Dead 2, Killing Floor 2, Insurgency and Day of Infamy for your platform without fixed monthly costs or any need for your own server infrastructure. Simply implement the Gameye API to kick off online matches when you need the, - you will even be able to implement the scores/statistics directly on your website. How cool is that!

Requirements

To use the Gameye SDK, the following prerequisites need to be fulfilled:

Installation

The easiest way to install the Gameye SDK is to require it with Composer.

$ composer require gameye/gameye-sdk-php

{
    "require": {
        "gameye/gameye-sdk-php": "2.*"
    }
}

You may also git checkout or download all the files, and include the Gameye SDK client manually.

Getting started

  1. Use the Gameye SDK to create a match with your desired game-specific options. It's important to specify an unique ID in order to be able to retrieve the details when the match has been created.

  2. After the match has ended we will fire a GET request to your webhook to let you know the match is done.

Initialize the Gameye API client and set your API key.

Create a match.

After creating the match, the server details will be available via the queryMatch function. When the match has been ended we will make a GET request to your callback url so you can fetch the match results.

Create a match with a custom (Steam Workshop) map.
Remove the map parameter from the config array and add the following two parameters.

You can find the id of a custom map at the end of a Steam Workshop URL.

Get a detailed list of all your active matches.

Stop a match.

Match results

When the match has been ended you can fetch the game scores and other statistics. You can pass a webhook URL when to create a match to get a notification when a match is done.

The following statistics are currently available for CS:GO

Match statistics:

Team statistics:

Player statistics:

First, import the Gameye Selector class.

Get the statistic state of a match.

Get the teams that participated in a match.

Get a single team.

Get all the players that participated in a match.

Note: we only show players that were connected to the match when it ended. For example if a player leaves in the last round of a match, he won't included in the statistics.

Get all players from a team.

Create a Steam Server Login Token

We made a helper function to make it easier for you to create a GSLT (Game Server Login Token) via the Steam WEB API. It is strongly recommended to create a fresh token for every match and delete the token after the match has ended. This is advisable because every Steam account is limited to a maximum of 1000 tokens. Passing a GSLT when starting a match is currently only required for CS:GO. For more information see the Steam website.

You can create a Steam Web API key on the Steam website.

The APP id that you should include for CS:GO is 730

Contributing

We encourage everyone to help us improve our public packages. If you want to contribute please submit a pull request.

License

BSD (Berkeley Software Distribution) License. 2017 Gameye B.V.

Support

Contact: gameye.com[email protected]


All versions of gameye-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
ext-curl Version *
ext-json Version *
ext-openssl Version *
guzzlehttp/guzzle Version ~6.0
chili-labs/json-patch Version ^1.0
zyberspace/steam-web-api-client Version ^0.5.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package gameye/gameye-sdk-php contains the following files

Loading the files please wait ....