{"id":21957623,"url":"https://github.com/bitbeans/yubikey","last_synced_at":"2025-08-23T06:04:04.179Z","repository":{"id":30903954,"uuid":"34461746","full_name":"bitbeans/Yubikey","owner":"bitbeans","description":"Yubikey for Laravel 5","archived":false,"fork":false,"pushed_at":"2021-08-03T06:27:35.000Z","size":34,"stargazers_count":42,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-08-23T06:03:56.379Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbeans.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":"2015-04-23T14:36:56.000Z","updated_at":"2023-08-06T09:43:00.000Z","dependencies_parsed_at":"2022-09-09T01:51:54.382Z","dependency_job_id":null,"html_url":"https://github.com/bitbeans/Yubikey","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bitbeans/Yubikey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2FYubikey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2FYubikey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2FYubikey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2FYubikey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbeans","download_url":"https://codeload.github.com/bitbeans/Yubikey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbeans%2FYubikey/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271745660,"owners_count":24813515,"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","status":"online","status_checked_at":"2025-08-23T02:00:09.327Z","response_time":69,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-29T08:54:54.200Z","updated_at":"2025-08-23T06:04:04.157Z","avatar_url":"https://github.com/bitbeans.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yubikey\n\nYubikey for Laravel 5\n\nThis package is based on the [Laravel 4 package](https://github.com/Monarobase/Yubikey) by Monarobase.\n\n\n[Buy a Yubikey](https://store.yubico.com)\n\n[Yubico API Key Generator](https://upgrade.yubico.com/getapikey/)\n\n\n## Installation\n\nAdd `bitbeans/yubikey` to `composer.json`.\n```\n\"bitbeans/yubikey\": \"dev-master\"\n```\n\nRun `composer update` to pull down the latest version of Yubikey.\n\nNow open up `/config/app.php` and add the service provider to your `providers` array.\n```php\n'providers' =\u003e [\n\tBitbeans\\Yubikey\\YubikeyServiceProvider::class,\n]\n```\n\nAnd also the alias.\n```php\n'aliases' =\u003e [\n\t'Yubikey' =\u003e Bitbeans\\Yubikey\\YubikeyFacade::class,\n]\n```\n\nYou can easily integrate the Yubikey Verification into your authentication system in two steps :\n- Add a field (eg `yubikey_identity`) in your user table\n- now check your user with username/email + password + yubikey_identity\n\n\n## Configuration\n\nRun `php artisan vendor:publish` and modify the config file (PROJECTFOLDER/config/yubikey.php) with your own information.\n\n\n## Example\n\n```php\nuse YubiKey;\n\ntry {\n\t$yubikey_auth = Yubikey::verify(Input::get('otp'));\n\t$yubikey_params = Yubikey::getParameters();\n\t$yubikey_identity = Yubikey::getParameter('identity');\n} catch (\\Exception $exception) {\n\t$error = $e-\u003egetMessage();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbeans%2Fyubikey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbeans%2Fyubikey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbeans%2Fyubikey/lists"}