Download the PHP package furic/game-essentials without Composer

On this page you can find all versions of the php package furic/game-essentials. 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 game-essentials

laravel-game-essentials

Packagist Packagist License Scrutinizer Code Quality Build Status

Game Essentials for Laravel 5.*. This package is required and used by few packages in Sweaty Chair Studio creating the basic data and essential functions for a gaming server backend. This provides functions such as registering players and assign the players to a game. After that the data can be used for analytics purpose.

If you are using other packages that requires this package, this will be added automatically and you do not need to install it manually. However, you can still use this package alone without using other packages.

Table of Contents

Installation

Install this package via Composer:

If you are using Laravel 5.5 or later, then installation is done. Otherwise follow the next steps.

Open config/app.php and follow steps below:

Find the providers array and add our service provider.

Configuration

To create table for game essentials in database run:

Usage

Games Table

Players Table

GamePlayer Privot Table

API URLs

GET <server url>/api/games/{id} Returns a JSON data from a given game ID, for debug usage only.

GET <server url>/api/games/{id}/versions Returns a JSON data containing the versions from a given game ID, for client checking the latest game version and perform force-update.

GET <server url>/api/games/{id}/players Returns a JSON array of all players from a given game ID, for debug usage only.

GET <server url>/api/players/{id} Returns a JSON data from a given player ID, for debug usage only.

GET <server url>/api/players/name/{name} Returns a JSON data from a given player name, for debug usage only.

POST <server url>/api/players Creates a JSON data of a player with given POST data. If the player is already exists with the given UDID, Facebook ID, or game servies IDs, it update the player data instead.

PUT <server url>/api/players/{id} Updates a JSON data of a player with a given player id.

GET <server url>/api/players/{id}/games Returns a JSON array of all players from a given game ID, for debug usage only.

API Document can be found here.

TODO

License

laravel-game-essentials is licensed under a MIT License.


All versions of game-essentials with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2
laravel/framework Version ~5.8||~6.0||~7.0||~8.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 furic/game-essentials contains the following files

Loading the files please wait ....