albaraam / php-gcm-apns

A PHP Library for sending messages to devices (Android & IOS) through GCM and Apns respectively .
MIT License
13 stars 0 forks source link

Problem installing with composer #1

Open boardmain opened 8 years ago

boardmain commented 8 years ago

hi im trying to install it but i have this errors

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for albaraam/php-gcm-apns ~1.0.0 -> satisfiable by albaraam/php-gcm-apns[v1.0.0].
    - albaraam/php-gcm-apns v1.0.0 requires duccio/apns-php dev-master -> satisfiable by duccio/apns-php[dev-master] but these conflict with your requirements or minimum-
albaraam commented 8 years ago

Your minimum-stability by default is stable so duccio/apns-php is not allowed to be installed as dev-master by that minimum-stability. To make it work update your composer.json with the following:

"minimum-stability": "dev",
"prefer-stable" : true

This basically means it will always use stable UNLESS there is no way to install a stable dependency, and therefore use dev.