Skip to content

Version 3

Austin Bischoff edited this page Feb 25, 2015 · 34 revisions

Requirements

Installation

PHP Composer - https://getcomposer.org/

This method assumes you already have composer installed and working properly. Add austinb/gameq as a requirement to composer.json by using composer require austinb/gameq:3.*@stable or by manually adding the following to the composer.json file in the "require" section:

"austinb/gameq": "3.*@stable"

Update your packages with composer update or install with composer install.

Standalone Library

Download the latest version of the library and unpack it into your project. Add the following to your bootstrap file:

require_once('/path/to/src/GameQ/Autoloader.php');

The Autoloader.php file provides the same auto loading functionality as the composer install.

Quick Example