{"id":17347602,"url":"https://github.com/cryptiklemur/yubico-php-client","last_synced_at":"2025-10-18T23:22:26.859Z","repository":{"id":24646999,"uuid":"28056835","full_name":"cryptiklemur/yubico-php-client","owner":"cryptiklemur","description":"Yubico YubiCloud PHP Client library","archived":false,"fork":false,"pushed_at":"2014-12-15T21:44:50.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T11:21:12.288Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cryptiklemur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-15T21:21:29.000Z","updated_at":"2018-11-22T12:49:07.000Z","dependencies_parsed_at":"2022-08-23T05:01:07.751Z","dependency_job_id":null,"html_url":"https://github.com/cryptiklemur/yubico-php-client","commit_stats":null,"previous_names":["cryptiklemur/yubico-php-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cryptiklemur/yubico-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fyubico-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fyubico-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fyubico-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fyubico-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cryptiklemur","download_url":"https://codeload.github.com/cryptiklemur/yubico-php-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cryptiklemur%2Fyubico-php-client/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259410149,"owners_count":22852970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T16:49:25.662Z","updated_at":"2025-10-18T23:22:21.816Z","avatar_url":"https://github.com/cryptiklemur.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yubico PHP Client\n\n### Installation\n\nAdd the `yubico/yubico-php-client` package to your `require` section in your `composer.json`\n\n```js\n{\n    // ...\n    \"require\": {\n        // ...\n        \"yubico/yubico-php-client\": \"~2.0.0\"\n    }\n}\n```\n\n### Usage\n\nA Quick Example:\n\n```php\n$otp = \"ccbbddeertkrctjkkcglfndnlihhnvekchkcctif\";\n\n// Generate a new id+key from https://api.yubico.com/get-api-key/\n$yubi = new \\Yubico\\YubiCloud('42', 'FOOBAR=');\n\ntry {\n    $auth = $yubi-\u003everify($otp);\n    echo \"\u003cp\u003eYou are authenticated!\";\n} catch (\\Exception $e) {\n    echo \"\u003cp\u003eAuthentication failed: \".$auth-\u003egetMessage();\n    echo \"\u003cp\u003eDebug output from server: \".$yubi-\u003egetLastResponse();\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Fyubico-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcryptiklemur%2Fyubico-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcryptiklemur%2Fyubico-php-client/lists"}