api-platform-heroku icon indicating copy to clipboard operation
api-platform-heroku copied to clipboard

Get error stable issue when I run 'composer require dunglas/api-platform-heroku'

Open darrylsepeda opened this issue 7 years ago • 3 comments

I'm using mac OSX Sierra 10.12 and try to install api-platform-heroku, but then this error came up:

[InvalidArgumentException]                                                                                     
  Could not find package dunglas/api-platform-heroku at any version for your minimum-stability (stable). Check   
  the package spelling or your minimum-stability  

Can anyone help me on this issue?

darrylsepeda avatar May 16 '17 03:05 darrylsepeda

Hello,

sure, you need to put your own project with a dev minimum stability, see https://getcomposer.org/doc/04-schema.md#minimum-stability

Regards

mickaelandrieu avatar Sep 22 '17 15:09 mickaelandrieu

Hi, I had the same issue. I used the command below ... I am on Windows btw but this might work for you:

composer require "dunglas/api-platform-heroku:dev-master"

Cheers

john-tau avatar Dec 19 '17 02:12 john-tau

in composer.json...

    ...
    "autoload-dev": {
        "psr-4": { "Tests\\": "tests/" }
    },
    "minimum-stability": "dev",
    "require": {
    ...

brunoreis avatar Jan 05 '18 00:01 brunoreis