{"action":"created","issue":{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/87","labels_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/87/comments","events_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/87/events","html_url":"https://github.com/PHPAuth/PHPAuth/issues/87","id":105924756,"number":87,"title":"Plugin class","user":{"login":"Conver","id":6231022,"avatar_url":"https://avatars.githubusercontent.com/u/6231022?v=3","gravatar_id":"","url":"https://api.github.com/users/Conver","html_url":"https://github.com/Conver","followers_url":"https://api.github.com/users/Conver/followers","following_url":"https://api.github.com/users/Conver/following{/other_user}","gists_url":"https://api.github.com/users/Conver/gists{/gist_id}","starred_url":"https://api.github.com/users/Conver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Conver/subscriptions","organizations_url":"https://api.github.com/users/Conver/orgs","repos_url":"https://api.github.com/users/Conver/repos","events_url":"https://api.github.com/users/Conver/events{/privacy}","received_events_url":"https://api.github.com/users/Conver/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/labels/plugin","name":"plugin","color":"fbca04"},{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/labels/question","name":"question","color":"cc317c"},{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/labels/todo","name":"todo","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-11T00:41:23Z","updated_at":"2015-09-11T22:36:43Z","closed_at":null,"body":"It would be great with some kind of \"plugin\" system, so we can create extra classes which can be loaded, example could be an Two-factor Authentication plugin class.\r\n\r\nPlease come with suggestion how we could create this the best and simplest way."},"comment":{"url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/comments/139678179","html_url":"https://github.com/PHPAuth/PHPAuth/issues/87#issuecomment-139678179","issue_url":"https://api.github.com/repos/PHPAuth/PHPAuth/issues/87","id":139678179,"user":{"login":"KarelWintersky","id":2164874,"avatar_url":"https://avatars.githubusercontent.com/u/2164874?v=3","gravatar_id":"","url":"https://api.github.com/users/KarelWintersky","html_url":"https://github.com/KarelWintersky","followers_url":"https://api.github.com/users/KarelWintersky/followers","following_url":"https://api.github.com/users/KarelWintersky/following{/other_user}","gists_url":"https://api.github.com/users/KarelWintersky/gists{/gist_id}","starred_url":"https://api.github.com/users/KarelWintersky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarelWintersky/subscriptions","organizations_url":"https://api.github.com/users/KarelWintersky/orgs","repos_url":"https://api.github.com/users/KarelWintersky/repos","events_url":"https://api.github.com/users/KarelWintersky/events{/privacy}","received_events_url":"https://api.github.com/users/KarelWintersky/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T22:36:43Z","updated_at":"2015-09-11T22:36:43Z","body":"IMHO, adding features to Base code is not a good idea. \r\nAdditional class is little better. A little.\r\n\r\nScan plugins dir is better idea. "}}