2017 © Pedro Peláez
 

library laravel-steam-inventory

Laravel Steam Inventory

image

invisnik/laravel-steam-inventory

Laravel Steam Inventory

  • Tuesday, September 5, 2017
  • by invisnik
  • Repository
  • 1 Watchers
  • 3 Stars
  • 276 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

Steam Inventory parser for Laravel 5

Code Climate Latest Stable Version Total Downloads License, (*1)

Dependencies

  • Laravel cache driver, which supports tags. For example Redis or Memcached

Installation Via Composer

Add this to your composer.json file, in the require object:, (*2)

"invisnik/laravel-steam-inventory": "1.*"

After that, run composer install to install the package., (*3)

Laravel 5.4 and below

Add the service provider to app/config/app.php, within the providers array., (*4)

'providers' => [
    // ...
    Invisnik\LaravelSteamInventory\ServiceProvider::class,
]

The package is automatically added if you are in Laravel 5.5., (*5)

Config Files

Lastly, publish the config file and configure it., (*6)

php artisan vendor:publish

Usage example

namespace App\Http\Controllers;

use Invisnik\LaravelSteamInventory\SteamInventory;

class YourController extends Controller
{
    /**
     * @var SteamInventory
     */
    private $steamInventory;

    public function __construct(SteamInventory $steamInventory)
    {
        $this->steamInventory = $steamInventory;
    }

    public function index()
    {
        $user = App\User::find(1);
    // $user->steamid = '76561198233097000'
        $items = $this->steamInventory
        ->loadInventory($user->steamid, 730)->getInventoryWithDescriptions();

    return view('your.view.file', compact('items'));
    }
}

The Versions

05/09 2017

dev-master

9999999-dev https://github.com/invisnik/laravel-steam-inventory

Laravel Steam Inventory

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Brytkov

laravel inventory steam api steam steam inventory

05/09 2017

v1.0.1

1.0.1.0 https://github.com/invisnik/laravel-steam-inventory

Laravel Steam Inventory

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Brytkov

laravel inventory steam api steam steam inventory

13/08 2017

v1.0.0

1.0.0.0 https://github.com/invisnik/laravel-steam-inventory

Laravel Steam Inventory

  Sources   Download

MIT

The Requires

 

The Development Requires

by Nikita Brytkov

laravel inventory steam api steam steam inventory