github-api3-php
github-api3-php copied to clipboard
PHP library for the GitHub API v3
Hi there, I'm trying to use the api, but with this basic code : require_once dirname(__FILE__) . '/github-api3-php/lib/vendor/Symfony/Component/ClassLoader/UniversalClassLoader.php'; $loader = new Symfony\Component\ClassLoader\UniversalClassLoader(); // Register the location of the GitHub namespace...
When I try to login the script throw no errors, but I am obviously not logged in as var_dump($user->emails()->all()); report unauthorized using $user->setCredentials(new Authentication\Basic('username', 'password')); $user->login();