Monday, April 10, 2017

composer could not be found for a specific application

I am trying to use laravel/homestead with php version 5.6. To do that I am trying to get version 2.2.2 by running the following command: composer require --dev laravel/homestead:2.2.2. I am getting the following error:

The requested package laravel/homestead could not be found in any version, there may be a typo in the package name.

Potential causes:
   - A typo in the package name
   - The package is not available in a stable-enough version according to your minimum-stability setting

To me, the weird thing is that I have another project, and when I run this command, it works perfectly. Both projects have "minimum-stability" : "dev"



via ajon

Advertisement