Skip to content

Instantly share code, notes, and snippets.

@christianchristensen
Created December 20, 2012 01:11
Show Gist options
  • Save christianchristensen/4342214 to your computer and use it in GitHub Desktop.
Save christianchristensen/4342214 to your computer and use it in GitHub Desktop.
Yii framework with composer and allplayers.php

Get going!

Use Composer:

composer install

(alternatively - for the lazyier...)

curl -s https://getcomposer.org/installer | php
php composer.phar install
{
"require": {
"lucifurious/yii": "dev-master",
"allplayers/allplayers": "dev-master"
}
}
<?php
use AllPlayers\Client;
require_once __DIR__.'/vendor/autoload.php';
$client = new Client('https://www.allplayers.com');
$response = $client->groupsGetGroup('ec33c546-cf85-11e1-9e39-12313d2a2278');
echo $response->uuid;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment