{"action":"opened","issue":{"url":"https://api.github.com/repos/Spomky-Labs/otphp/issues/23","labels_url":"https://api.github.com/repos/Spomky-Labs/otphp/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/Spomky-Labs/otphp/issues/23/comments","events_url":"https://api.github.com/repos/Spomky-Labs/otphp/issues/23/events","html_url":"https://github.com/Spomky-Labs/otphp/issues/23","id":70377425,"number":23,"title":"Usage example","user":{"login":"waltrapa","id":4096161,"avatar_url":"https://avatars.githubusercontent.com/u/4096161?v=3","gravatar_id":"","url":"https://api.github.com/users/waltrapa","html_url":"https://github.com/waltrapa","followers_url":"https://api.github.com/users/waltrapa/followers","following_url":"https://api.github.com/users/waltrapa/following{/other_user}","gists_url":"https://api.github.com/users/waltrapa/gists{/gist_id}","starred_url":"https://api.github.com/users/waltrapa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waltrapa/subscriptions","organizations_url":"https://api.github.com/users/waltrapa/orgs","repos_url":"https://api.github.com/users/waltrapa/repos","events_url":"https://api.github.com/users/waltrapa/events{/privacy}","received_events_url":"https://api.github.com/users/waltrapa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-23T10:47:18Z","updated_at":"2015-04-23T10:47:18Z","closed_at":null,"body":"Please could you provide a better explanation to use this library? It would be great, I'm stuck building an example usage \r\n```\r\n<?php\r\nrequire_once dirname(__FILE__).'/lib/OTPInterface.php';\r\nrequire_once dirname(__FILE__).'/lib/TOTPInterface.php';\r\nrequire_once dirname(__FILE__).'/lib/OTP.php';\r\nrequire_once dirname(__FILE__).'/lib/TOTP.php';\r\n\r\nuse OTPHP\\TOTP as TOTP;\r\n\r\n//$test = new TOTP; //  Fatal error: Cannot instantiate abstract class OTPHP\\TOTP\r\n\r\nclass MyOtp extends TOTP{\t\r\n}\r\n\r\n$test = new MyOtp(); // Fatal error: Class MyOtp contains 7 abstract methods and must therefore be declared abstract or implement the remaining methods ...\r\n```\r\nthanks in advance"}}