{"action":"created","issue":{"url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219","labels_url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219/comments","events_url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219/events","html_url":"https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219","id":44831053,"number":219,"title":"Sugget use PHP autoloder","user":{"login":"cherifGsoul","id":109013,"avatar_url":"https://avatars.githubusercontent.com/u/109013?v=3","gravatar_id":"","url":"https://api.github.com/users/cherifGsoul","html_url":"https://github.com/cherifGsoul","followers_url":"https://api.github.com/users/cherifGsoul/followers","following_url":"https://api.github.com/users/cherifGsoul/following{/other_user}","gists_url":"https://api.github.com/users/cherifGsoul/gists{/gist_id}","starred_url":"https://api.github.com/users/cherifGsoul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cherifGsoul/subscriptions","organizations_url":"https://api.github.com/users/cherifGsoul/orgs","repos_url":"https://api.github.com/users/cherifGsoul/repos","events_url":"https://api.github.com/users/cherifGsoul/events{/privacy}","received_events_url":"https://api.github.com/users/cherifGsoul/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2014-10-03T18:16:18Z","updated_at":"2015-01-25T21:36:36Z","closed_at":null,"body":"The plugin loader is great feature in WP plugin boilerplate but we can make it better by using the php autoload feature http://php.net/manual/fr/function.spl-autoload-register.php I started making something like this https://github.com/cherifGsoul/plugin-framework/blob/master/includes/framework/class-core.php but not have much time to accomplish this, would be great if the user can register his own autoloaders for third-party classes (for mustache template egine for example) :) hope this could help"},"comment":{"url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/comments/71394912","html_url":"https://github.com/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219#issuecomment-71394912","issue_url":"https://api.github.com/repos/tommcfarlin/WordPress-Plugin-Boilerplate/issues/219","id":71394912,"user":{"login":"jaspervalero","id":845659,"avatar_url":"https://avatars.githubusercontent.com/u/845659?v=3","gravatar_id":"","url":"https://api.github.com/users/jaspervalero","html_url":"https://github.com/jaspervalero","followers_url":"https://api.github.com/users/jaspervalero/followers","following_url":"https://api.github.com/users/jaspervalero/following{/other_user}","gists_url":"https://api.github.com/users/jaspervalero/gists{/gist_id}","starred_url":"https://api.github.com/users/jaspervalero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaspervalero/subscriptions","organizations_url":"https://api.github.com/users/jaspervalero/orgs","repos_url":"https://api.github.com/users/jaspervalero/repos","events_url":"https://api.github.com/users/jaspervalero/events{/privacy}","received_events_url":"https://api.github.com/users/jaspervalero/received_events","type":"User","site_admin":false},"created_at":"2015-01-25T21:36:36Z","updated_at":"2015-01-25T21:36:36Z","body":"@danieliser,\r\n\r\nThere is a reason I said, \" One class is good enough reason to implement an autoloader as a project with 100 classes.\" Obviously, you don't use an autoloader if there are not any classes involved. There are always exceptions and that is a prime example. I understand the point you're trying to make and don't disagree. My point was merely to be careful when walking that line. :)"}}