Download the PHP package allyans3/protobuf-steam-auth without Composer
On this page you can find all versions of the php package allyans3/protobuf-steam-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package protobuf-steam-auth
To use this package you need to install php extension
protobuf
. Installation instructions are below.
About Protobuf Steam Auth
This package provides the ability to authorize to the Steam using Google Protobuf. Support PHP 7+ and PHP 8+.
Installation
-
Run this text in a console to install this package from Packagist:
-
Copy folder
protobuf-ext
from/vendor/allyans3/protobuf-steam-auth
to your project: - Build php extension with next commands choosing between
php 7
andphp 8
(Thanks to Tankonyako):
For Linux/Mac:
For Windows see this Youtube video:
- Add line
extension=protobuf.so
to your php.ini file
Usage
Cookie storage
By default, cookie saves in $cookieStorage
attribute and can be retrieved by getCookies()
or getCookiesByHost()
methods.
Optional, you can specify the path to your cookie file in cookie_file
key.
Also, you can send your cookies as array to cookie_storage
key.
Handle Exceptions
Proxy
v1.0.9 or later is required to use proxy.
Keys that can be in an array:
ip
+port
ordomain_name
–domain_name
used for rotating proxyuser
+pass
– if proxy support authtype
– you can pass constant variable or integer as explained in table belowtimeout
– in seconds, default infiniteconnect_timeout
– in seconds, default infiniteuser_agent
– your Useragent
cURL Proxy Type | Integer |
---|---|
CURLPROXY_HTTP | 0 |
CURLPROXY_HTTP_1_0 | 1 |
CURLPROXY_HTTPS | 2 |
CURLPROXY_SOCKS4 | 4 |
CURLPROXY_SOCKS4A | 6 |
CURLPROXY_SOCKS5 | 5 |
CURLPROXY_SOCKS5_HOSTNAME | 7 |
Example:
Support
Report bugs on the issue tracker.
License
Protobuf Steam Auth is open-sourced Composer package licensed under the MIT license.
All versions of protobuf-steam-auth with dependencies
allegro/php-protobuf Version ^0.12.4
ramsey/uuid Version ^4.2
allyans3/php-steam-totp Version ^1.0