php - Composer installation failed "requirements could not be resolved to an installable set of packages." -


i trying install braunson/fatsecret package php composer on local xampp installation. https://packagist.org/packages/braunson/fatsecret-laravel

when try install following command:

php composer.phar require "braunson/fatsecret:dev-master" 

the installation fails, , following message:

your requirements not resolved installable set of packages.

installation failed message

i have installed composer (in opinion) correctly in /applications/xampp/htdocs/my-folder/ documentation says:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'installer verified'; } else { echo 'installer corrupt'; unlink('composer-setup.php'); } echo php_eol;" php composer-setup.php php -r "unlink('composer-setup.php');" 

the package called braunson/fatsecret-laravel, per link provided packagist. looks project's readme out of date, possibly package changed names @ point in past.

you should able change command to

php composer.phar require "braunson/fatsecret-laravel:dev-master" 

Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -