Giter Club home page Giter Club logo

laravel-steam-inventory's People

Contributors

invisnik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

laravel-steam-inventory's Issues

Cache problem

When call "loadInventory" get error "This cache store does not support tagging."

Add documentation

Hi, I want to use this package but I don't know how.
A documentation would be very useful 👍

FatalThrowableError

Hello i want use this package but i cant this error.

Type error: Argument 1 passed to
Invisnik\LaravelSteamInventory\SteamInventory::parseItemTags() must be of the type array,
null given, called in /home/vagrant/Code/vendor/invisnik/laravel-
steaminventory/src/SteamInventory.php on line 195

My Controller:

use Invisnik\LaravelSteamInventory\SteamInventory;

public function loadInventory($case)
    {
            $user = "76561198103413007"; // i tried to $user = 76561198103413007;
            $items = $this->steamInventory
                     ->loadInventory($user, 578080)
                     ->getInventoryWithDescriptions();

            return compact('items');
    }

And other users have


(1/1) ErrorExceptionarray_map(): Argument #2 should be an array
--
in SteamInventory.php (line 199)
at HandleExceptions->handleError(2, 'array_map(): Argument #2 should be an array', '/home/vagrant/Code/vendor/invisnik/laravel-steam-inventory/src/SteamInventory.php', 199, array('contextid' => 2, 'inventory' => null, 'descriptions' => null))
at array_map(object(Closure), null)in SteamInventory.php (line 199)
at SteamInventory->getInventoryWithDescriptions()in UserController.php (line 102)
at UserController->loadInventory('0')
at call_user_func_array(array(object(UserController), 'loadInventory'), array('case' => '0'))in Controller.php (line 55)
at Controller->callAction('loadInventory', array('case' => '0'))in ControllerDispatcher.php (line 44)
at ControllerDispatcher->dispatch(object(Route), object(UserController), 'loadInventory')in Route.php (line 203)


ServiceProvider not Found

Hello,

i installed this paket via composer and added this Invisnik\LaravelSteamInventory\ServiceProvider::class into the app/config/app.php

Error Code:
FatalThrowableError in ProviderRepository.php line 146: Class 'Invisnik\LaravelSteamInventory\ServiceProvider' not found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.