{"action":"created","issue":{"url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/17","labels_url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/17/comments","events_url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/17/events","html_url":"https://github.com/kissmetrics/kissmetrics-php/pull/17","id":105974297,"number":17,"title":"Easier includes of the library","user":{"login":"DataTables","id":278219,"avatar_url":"https://avatars.githubusercontent.com/u/278219?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTables","html_url":"https://github.com/DataTables","followers_url":"https://api.github.com/users/DataTables/followers","following_url":"https://api.github.com/users/DataTables/following{/other_user}","gists_url":"https://api.github.com/users/DataTables/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTables/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTables/subscriptions","organizations_url":"https://api.github.com/users/DataTables/orgs","repos_url":"https://api.github.com/users/DataTables/repos","events_url":"https://api.github.com/users/DataTables/events{/privacy}","received_events_url":"https://api.github.com/users/DataTables/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-11T09:19:52Z","updated_at":"2015-09-11T10:13:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/pulls/17","html_url":"https://github.com/kissmetrics/kissmetrics-php/pull/17","diff_url":"https://github.com/kissmetrics/kissmetrics-php/pull/17.diff","patch_url":"https://github.com/kissmetrics/kissmetrics-php/pull/17.patch"},"body":"Previously you would need to include each of the files from this repo\r\nindividually in the script(s) that actually use the files. While easy\r\nenough to do, it would be easier to simply include a single base file\r\nand have it perform the required includes for us.\r\n\r\nI've added this as a separate file rather than into Client.php to\r\npreserve backwards compatibility. New users can include KM.php while the\r\nfolks including the files individually can ignore the new file and carry\r\non with the old way."},"comment":{"url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/comments/139507153","html_url":"https://github.com/kissmetrics/kissmetrics-php/pull/17#issuecomment-139507153","issue_url":"https://api.github.com/repos/kissmetrics/kissmetrics-php/issues/17","id":139507153,"user":{"login":"Gargron","id":184731,"avatar_url":"https://avatars.githubusercontent.com/u/184731?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargron","html_url":"https://github.com/Gargron","followers_url":"https://api.github.com/users/Gargron/followers","following_url":"https://api.github.com/users/Gargron/following{/other_user}","gists_url":"https://api.github.com/users/Gargron/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargron/subscriptions","organizations_url":"https://api.github.com/users/Gargron/orgs","repos_url":"https://api.github.com/users/Gargron/repos","events_url":"https://api.github.com/users/Gargron/events{/privacy}","received_events_url":"https://api.github.com/users/Gargron/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T10:13:15Z","updated_at":"2015-09-11T10:13:15Z","body":"It's been forever since I made this but if I remember correctly you don't need to require anything manually, you can use autoloading, and I do believe that if you use Composer you get autoloading for free."}}