justinback/steam-php

There is no license information available for the latest version (1.2.0) of this package.

Steamworks PHP Wrapper for easy WebAPI interaction

1.2.0 2019-03-24 02:54 UTC

This package is auto-updated.

Last update: 2024-05-21 15:00:41 UTC


README

Notice!

Do not pick the master branch, its unstable and broken as its WIP.

Pick a release instead, those are stable!

Compability

PHP5.x PHP7.0 PHP7.1 PHP7.2 PHP7.3 PHP7.4 PHP8.0

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\SteamManager($sApiKey, $iAppID, $sSteamid);

Examples

Examples are in the examples/ directory.

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!