Skip to content

nadavoid/allplayers.php

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AllPlayers PHP Client


This is the AllPlayers.com PHP client that uses AllPlayers' API to create, get and change user data, group data, etc. Intended for developers to take advantage of the features that AllPlayers brings and interact with data in whatever way your application needs.

To start, clone this repository using git clone and run curl -s http://getcomposer.org/installer | php && ./composer.phar install to install dependencies.

To test using phpunit, create a phpunit.xml file under main directory and let phpunit know to autoload dependencies and use your credentials:


<phpunit bootstrap="./Tests/bootstrap.php" colors="true">
    <php>
        <server name="API_USER" value="<user>" />
        <server name="API_PASSWORD" value="<password>" />
        <server name="API_HOST" value="<host>" />
    </php>
    <testsuites>
        <testsuite name="guzzle-service">
            <directory suffix="Test.php">./Tests</directory>
        </testsuite>
    </testsuites>
</phpunit>

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%