Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/DoctorMcKay/php-steamid
SteamID class for PHP
https://github.com/DoctorMcKay/php-steamid
Last synced: 2 months ago
JSON representation
SteamID class for PHP
- Host: GitHub
- URL: https://github.com/DoctorMcKay/php-steamid
- Owner: DoctorMcKay
- License: mit
- Created: 2015-06-16T02:03:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-10T03:43:42.000Z (over 3 years ago)
- Last Synced: 2024-11-08T00:04:44.327Z (3 months ago)
- Language: PHP
- Homepage: https://packagist.org/packages/doctormckay/steamid
- Size: 12.7 KB
- Stars: 10
- Watchers: 4
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-steam - steamid - SteamID class for PHP. (Packages / PHP)
- awesome-esports - PHP
README
# php-steamid
SteamID class for PHP. The class is documented with phpdoc, just read it to find out how to use it.Works on both 32 and 64-bit PHP.
[node.js version is also available](https://www.npmjs.com/package/steamid), which can be browserified pretty easily.
# Example
```php
getSteam2RenderedID() . PHP_EOL;
echo "SteamID3: " . $steamid->getSteam3RenderedID() . PHP_EOL;
echo "SteamID64: " . $steamid->getSteamID64() . PHP_EOL;
```