{"id":15027107,"url":"https://github.com/danielburger1337/steam-openid-php","last_synced_at":"2026-03-15T19:39:20.088Z","repository":{"id":56961862,"uuid":"406574731","full_name":"danielburger1337/steam-openid-php","owner":"danielburger1337","description":"A simple, modern and modular OpenID client library implementation for Steam.","archived":false,"fork":false,"pushed_at":"2023-08-19T02:57:40.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T08:34:57.283Z","etag":null,"topics":["php","php-8","php-library","steam","steam-openid"],"latest_commit_sha":null,"homepage":"","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/danielburger1337.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-15T01:33:08.000Z","updated_at":"2024-01-19T18:56:31.000Z","dependencies_parsed_at":"2025-01-19T20:26:22.258Z","dependency_job_id":"750e5e27-59f6-4683-956c-919796651c40","html_url":"https://github.com/danielburger1337/steam-openid-php","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"cf084583d311f01db49c0fa0842e4f833f072a66"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/danielburger1337/steam-openid-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsteam-openid-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsteam-openid-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsteam-openid-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsteam-openid-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielburger1337","download_url":"https://codeload.github.com/danielburger1337/steam-openid-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielburger1337%2Fsteam-openid-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30550481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-15T15:03:43.933Z","status":"ssl_error","status_checked_at":"2026-03-15T15:03:37.630Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["php","php-8","php-library","steam","steam-openid"],"created_at":"2024-09-24T20:05:46.740Z","updated_at":"2026-03-15T19:39:20.070Z","avatar_url":"https://github.com/danielburger1337.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PHPUnit](https://github.com/danielburger1337/steam-openid-php/actions/workflows/phpunit.yml/badge.svg)](https://github.com/danielburger1337/steam-openid-php/actions/workflows/phpunit.yml)\n[![PHPStan](https://github.com/danielburger1337/steam-openid-php/actions/workflows/phpstan.yml/badge.svg)](https://github.com/danielburger1337/steam-openid-php/actions/workflows/phpstan.yml)\n\n# Steam OpenID Authentication Library\n\nA simple, modern and modular OpenID client library implementation for Steam.\n\n## Why this library?\n\nThis library aims to make the proccess of OpenID authentication with Steam as painless as possible.\n\nAs you may know, there are already a couple of libraries that do more or less the exact same thing as this library:\n\n-   https://github.com/xPaw/SteamOpenID.php\n-   https://github.com/SmItH197/SteamAuthentication\n\nBut as you may know or will see, those libraries are exactly what people hate about PHP. They do not use any real coding or [php-fig (psr)](https://www.php-fig.org/) standards, are not modular (they require cURL) and are generally a pain to work with because they do not throw exceptions.\n\n## How To Use\n\n```php\n\u003c?php declare(strict_types=1);\n\nuse danielburger1337\\SteamOpenId\\SteamOpenID;\n\n// RECOMMENDATION: register this in your psr-11 container.\n$openId = new SteamOpenID(\n    // REQUIRED: your OpenID \"realm\" (your host)\n    'http://localhost:5000',\n    // REQUIRED: your OpenID \"return_to\" URI (your callback URI)\n    'http://localhost:5000/Callback.php',\n    // OPTIONAL: your psr-18 implementation (defaults to symfony/http-client)\n    new GuzzleHttp\\Client(),\n    // OPTIONAL: your psr-17 implementation (default to nyholm/psr7)\n    new Nyholm\\Psr7\\Factory\\Psr17Factory()\n);\n\n// start the authentication flow by redirecting the user to Steam.\nheader('Location: ' . $openId-\u003econstructCheckIdSetupUri());\n\n// ... in Callback.php (or your callback controller method)\n\nuse danielburger1337\\SteamOpenId\\Exception\\ExceptionInterface;\n\n// When steam redirects the user back to your \"return_to\" URI,\n// verify the provided parameters in the query string.\n\ntry {\n    // This method returns the users 64-bit SteamID.\n    $steamId = $openId-\u003everifyCallback($_GET);\n} catch (ExceptionInterface $e) {\n    exit(var_dump('Failed to verify steam authentication :('));\n}\n```\n\n### Terms \u0026 Conditions\n\nBefore using this library, please read and accept Valve's terms and conditions [here](https://steamcommunity.com/dev).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielburger1337%2Fsteam-openid-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielburger1337%2Fsteam-openid-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielburger1337%2Fsteam-openid-php/lists"}