scr34m / php-malware-scanner

Scans PHP files for malwares and known threats
GNU General Public License v3.0
556 stars 96 forks source link

[InvalidArgumentException] #29

Closed Lefthandmedia closed 6 years ago

Lefthandmedia commented 6 years ago

I'm getting a warning

  [InvalidArgumentException]                                                   
  Could not find a version of package scr34m/php-malware-scanner matching you  
  r minimum-stability (stable). Require it with an explicit version constrain  
  t allowing its desired stability. 

when running 'composer global require scr34m/php-malware-scanner' in my terminal. Am i doing something wrong?

jimpeters commented 6 years ago

Run the following to add a minimum-stability to your global composer.json first. Then try to install the package again.

composer global config minimum-stability dev

Lefthandmedia commented 6 years ago

Thanks that worked.

scr34m commented 6 years ago

Thanks @jimpeters closing.

MasterNeuron commented 5 years ago

Thank you!