You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Justin Back 65f95751cf
Change drone config
5 months ago
.github Updated Templates 1 year ago
class Added tests 5 months ago
docs Added $iOrderID parameter to InitTxn to use a custom order id instead of a generated one. 6 months ago
examples Updated Examples and added json_encode to the transactions exceptions due to a bug. 6 months ago
tests/class Added tests 5 months ago
.drone.yml Change drone config 5 months ago
.gitignore Added tests 5 months ago
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 1 year ago
CONTRIBUTING.md Update CONTRIBUTING.md 1 year ago
LICENSE Update LICENSE 1 year ago
PULL_REQUEST_TEMPLATE.md Update PULL_REQUEST_TEMPLATE.md 1 year ago
README.md Updated examples section in readme 6 months ago
composer.json Added tests 5 months ago
composer.lock Added tests 5 months ago
steam.php Adding exceptions, changing to curl, added utils and user authentication. Recoding classes right now. Currently at \inventory. 6 months ago

README.md

SteamPHP

Justin Back Logo

NEW

SteamPHP now supports fully compatible exceptions! Error handling is better than ever. This includes a major rewrite of this library so don’t update if you don’t handle errors now properly else your application will break!

Version

VERSION

Compability

PHP5.4 PHP5.5 PHP5.6 PHP7.0

Support

SteamPHP has its own dedicated forum now! Login with GitHub and help others or get support! https://forums.pixelcatproductions.net/c/libraries/steamphp

Info

GitHub issues

GitHub license

FAQ

Why?

Most developers struggle with interacting with the WebAPI, this (yet) unfinished library makes everything easier!

How?

Making web requests especially multiple can be frustrating such as code quality. This library makes it easy with providing one liners. Examples below*

Installation

Composer

  1. composer require justinback/steam-php
  2. include vendor/autoload.php
  3. See Usage

By Source

  1. Download from GitHub
  2. include steam.php
  3. See Usage

Usage


$steam  = new justinback\steam\manager($sApiKey, $iAppID, $sSteamid);

Examples

Examples are in the examples/ directory or at our forums!

https://forums.pixelcatproductions.net/tags/c/libraries/steamphp/tutorial

Documentation

Docs

Generating

Get apigen

./path_to_executeable "generate" "--source" "path_to_source" "--destination" "path_to_source/docs" "--title" "SteamPHP" "--charset" "UTF-8" "--exclude" "index.php" "--access-levels" "public" "--access-levels" "protected" "--php" "--tree" "--deprecated" "--todo" "--template-theme bootstrap"

Feature Requests / Bug Reports

Feel free to make a Pull Request or Open an Issue!