Dusk: Could not find package laravel/dusk at any version for your minimum-stability (stable).

Created on 18 Jan 2017  路  6Comments  路  Source: laravel/dusk

When i run composer require laravel/dusk, get a error

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

Most helpful comment

Maybe Taylor has since removed the --dev flag then but it was necessary a few days ago. Glad I could help.

All 6 comments

@godruoyi You need the --dev flag as it hasn't been released yet.

composer require laravel/dusk --dev

Once Laravel 5.4 and Dusk are released you won't need that flag.

Ok, Thanks, But when I run composer require laravel/dusk --dev on centos or window10, and I try recreated a new folder run this command, This error is still here

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

@godruoyi apologies, the message is referring to your composer.json file. Ensure that your minimum stability is set to "dev" like so "minimum-stability": "dev".

{
    "name": "YourProjectName",
    "minimum-stability": "dev",
    "require": {
        "laravel/dusk": "dev"
    }
}

Thanks, it's working

just update you composer.json require or require-dev and add

"require": {
    "laravel/dusk": "@dev"
}

don't composer require laravel/dusk --dev,

Maybe Taylor has since removed the --dev flag then but it was necessary a few days ago. Glad I could help.

On Laravel 5.3, can confirm that --dev flag no longer works. Just wait for 5.4 now which is anytime soon.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hackel picture hackel  路  6Comments

digitlimit picture digitlimit  路  4Comments

joanlopez picture joanlopez  路  5Comments

bruno-barros picture bruno-barros  路  6Comments

pdbreen picture pdbreen  路  4Comments