{"id":19146309,"url":"https://github.com/signpostmarv/steam-id","last_synced_at":"2026-06-20T17:31:51.198Z","repository":{"id":37601579,"uuid":"231650437","full_name":"SignpostMarv/steam-id","owner":"SignpostMarv","description":"SteamID Parsing","archived":false,"fork":false,"pushed_at":"2022-06-21T23:39:57.000Z","size":250,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-03T16:26:03.656Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SignpostMarv.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":"2020-01-03T19:19:30.000Z","updated_at":"2022-06-21T23:40:01.000Z","dependencies_parsed_at":"2022-08-24T03:40:37.365Z","dependency_job_id":null,"html_url":"https://github.com/SignpostMarv/steam-id","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2Fsteam-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2Fsteam-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2Fsteam-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SignpostMarv%2Fsteam-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SignpostMarv","download_url":"https://codeload.github.com/SignpostMarv/steam-id/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240229935,"owners_count":19768588,"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-11-09T07:43:48.998Z","updated_at":"2026-06-11T23:30:15.053Z","avatar_url":"https://github.com/SignpostMarv.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# signpostmarv/steam-id\n[![Test Status](https://github.com/SignpostMarv/steam-id/workflows/Tests/badge.svg)](https://github.com/SignpostMarv/steam-id/actions) [![Code Coverage](https://coveralls.io/repos/github/SignpostMarv/steam-id/badge.svg?branch=master)](https://coveralls.io/github/SignpostMarv/steam-id?branch=master) ![Type Coverage](https://shepherd.dev/github/SignpostMarv/steam-id/coverage.svg)\n\nA library for parsing [Steam IDs](https://developer.valvesoftware.com/wiki/SteamID)\n\n## Requirements\n* php-7.4\n* ext-ctype\n\n## Install\n`composer require signpostmarv/steam-id`\n\n### Suggested Steps\n\n#### Use vimeo/psalm\nPsalm saves on implementing runtime checks that can be detected with static analysis.\n\nFor example, [at the time of writing](https://developer.valvesoftware.com/w/index.php?title=SteamID\u0026oldid=228298) an ID's Universe component does not go higher than 5 but uses an 8-bit field, but the following code will fail to pass a check on psalm:\n```php\nnew \\SignpostMarv\\SteamId\\SteamId(0, 0, 0, 0, 6);\n```\n\u003e ERROR: InvalidArgument - Argument 5 of SignpostMarv\\SteamId\\SteamId::__construct expects int(0)|int(1)|int(2)|int(3)|int(4)|int(5), int(6) provided\n\n* [Install vimeo/psalm](https://psalm.dev/docs/running_psalm/installation/)\n* [Configure psalm to test your source](https://psalm.dev/docs/running_psalm/configuration/#ltprojectfilesgt)\n\n### Optional Steps\nUse either the [BCMath](https://github.com/signpostmarv/brick-math-base-convert-bcmath) or [GMP](https://github.com/signpostmarv/brick-math-base-convert-gmp) calculators if the relevant php extension is available.\n\n## Examples\n\n### Obtain Steam Community URL\n```php\nuse SignpostMarv\\SteamId\\Parser;\n\n$parser = new Parser();\n\n$id = $parser-\u003eFromString('76561197960287930');\n\n$url = $parser-\u003eToSteamCommunityUrl($id);\n```\n\n## License\nApache-2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignpostmarv%2Fsteam-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsignpostmarv%2Fsteam-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsignpostmarv%2Fsteam-id/lists"}