{"action":"opened","issue":{"url":"https://api.github.com/repos/zKillboard/crestsso/issues/1","repository_url":"https://api.github.com/repos/zKillboard/crestsso","labels_url":"https://api.github.com/repos/zKillboard/crestsso/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/zKillboard/crestsso/issues/1/comments","events_url":"https://api.github.com/repos/zKillboard/crestsso/issues/1/events","html_url":"https://github.com/zKillboard/crestsso/issues/1","id":176890012,"number":1,"title":"Autoloading with composer not working","user":{"login":"Nahaz","id":457154,"avatar_url":"https://avatars.githubusercontent.com/u/457154?v=3","gravatar_id":"","url":"https://api.github.com/users/Nahaz","html_url":"https://github.com/Nahaz","followers_url":"https://api.github.com/users/Nahaz/followers","following_url":"https://api.github.com/users/Nahaz/following{/other_user}","gists_url":"https://api.github.com/users/Nahaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Nahaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nahaz/subscriptions","organizations_url":"https://api.github.com/users/Nahaz/orgs","repos_url":"https://api.github.com/users/Nahaz/repos","events_url":"https://api.github.com/users/Nahaz/events{/privacy}","received_events_url":"https://api.github.com/users/Nahaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T12:07:33Z","updated_at":"2016-09-14T12:07:33Z","closed_at":null,"body":"Not sure if this is on you or not but because I'm quite new to using composer, but autoloading is not working, tested on both linux and windows.\r\n\r\nIt's all very simple right now, this is what I've done:\r\n1. run composer require zkillboard/crestsso\r\n2. create index.php with the following:\r\n```\r\n<?php\r\nrequire __DIR__ . \"/vendor/autoload.php\";\r\n\r\n$clientID = 'id';\r\n$secretKey = 'key';\r\n$callbackURL = 'http://localhost/eveportal';\r\n\r\n$sso = new CrestSSO($clientID, $secretKey, $callbackURL, $scopes);\r\n ?>\r\n```\r\n\r\nphp is throwing the following error:\r\n`Fatal error: Uncaught Error: Class 'CrestSSO' not found in \\eveportal\\index.php:8 Stack trace: #0 {main} thrown in \\eveportal\\index.php on line 8`\r\n\r\nAny idea why the autoload is not loading the class?"}}
{"actor":{"display_login":"Nahaz"}}