kebabtent / pogoapi-php

API for Pokemon Go
10 stars 5 forks source link

run cmd "composer require jaspervdm/pogoapi-php" error #5

Closed myshinjio closed 8 years ago

myshinjio commented 8 years ago
  [InvalidArgumentException]
  Could not find package jaspervdm/pogoapi-php at any version for your minimum-stability (stable).    Check the package
  spelling or your minimum-stability

I run cmd error.

composer require jaspervdm/pogoapi-php

jaspervdm commented 8 years ago

You should change your minimum-stability to dev. This can be done globally (I think), or in your composer.json, do:

{
  "require": {
    "jaspervdm/pogoapi-php": "dev-master"
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}

Anyway for now this API lacks a lot of functionality, so I wouldn't recommend using it just yet.