waylaidwanderer / PHP-SteamCommunity

A PHP library for interacting with the Steam Community website (steamcommunity.com)
MIT License
76 stars 41 forks source link

install error #65

Closed theosanonym closed 7 years ago

theosanonym commented 7 years ago

Hi!

We would like to install PHP-SteamCommunity library to our system, but displays error. What do we have to do to install the library correctly?

The issue is: root@dev /path/to/SteamCommunity # composer require waylaidwanderer/php-steamcommunity dev-master ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, reverting ./composer.json to its original content. root@dev /path/to/SteamCommunity # cat composer.json { "name": "waylaidwanderer/php-steamcommunity", "description": "A PHP library for interacting with the Steam Community website (steamcommunity.com)", "require": { "phpseclib/phpseclib": "^2.0" }, "require-dev": { "phpunit/phpunit": "3.7.14" }, "autoload": { "psr-4": { "waylaidwanderer\SteamCommunity\": "" } }, "license": "MIT", "authors": [ { "name": "Joel", "email": "waylaidwanderer@live.com" } ] }

Thanks, theosanonym

CyanoFresh commented 7 years ago

there is no releases. Use dev-master as version

theosanonym commented 7 years ago

Hi

We are using dev-master version. The code: composer require waylaidwanderer/php-steamcommunity dev-master Is that okay, or there is another way? Please help

CyanoFresh commented 7 years ago

what is your minimum stability in composer json?

waylaidwanderer commented 7 years ago

The package doesn't officially have a release version yet so using dev-master is the only way for now.

theosanonym commented 7 years ago

Thanks all the replies, we have finally solved the problem, the lib is working fine.