ivanpepelko / steamkit
This package is abandoned and no longer maintained.
No replacement package was suggested.
dev-master
2016-05-30 19:39 UTC
Requires
- guzzlehttp/guzzle: ^6.2
- koraktor/steam-condenser: ^1.3
- symfony/finder: ^3.0
- symfony/var-dumper: ^3.0
- symfony/yaml: ^3.0
This package is auto-updated.
Last update: 2022-02-01 12:57:42 UTC
README
Install with composer: composer require ivanpepelko/steamkit
Setup your config file(see Config section) and run: vendor/bin/steamkit generate-api
Config
Create config.yml
file in root directory of your project or pass --config
parameter to console utility to read from custom config file.
Only yaml/yml format is supported currently.
Sample Config
#config resides in steamkit section
steamkit:
# your Steam Web API key
apikey: ~
# response from steam api is associative array or objects
assoc: true
Console utility
To generate Steam Web API classes: php vendor/bin/steamkit generate-api
Parameters
Short Long Description
-c --config Custom config file. Default config file is config.yml in the root directory of project.
-f --fix Run php-cs-fixer on generated files after generation.
Example for Symfony 3 users (if values are provided in default config file):
`php vendor/bin/generate-api generate --config app/config/config.yml`