jmrieger / onesignal-laravel

OneSignal API wrapper for Laravel / Lumen.
MIT License
25 stars 9 forks source link

Can't install the package #17

Open simpledev opened 7 years ago

simpledev commented 7 years ago

Hi, when I'm trying to install the package there is an error

` Problem 1

How can I resolve it ? Thank's

jmrieger commented 7 years ago

What version of Laravel or Lumen are you running?

simpledev commented 7 years ago

Laravel Framework 5.4.23

jmrieger commented 7 years ago

Can you try changing the requirement in composer.json:10 to the following: "symfony/psr-http-message-bridge": ">=0.2.0"

IlCallo commented 6 years ago

For pre-1.0 versions it also acts with safety in mind and treats ^0.3 as >=0.3.0 <0.4.0.

source

Many get stuck on this behaviour.

If it's not a problem for @jmrieger (which seems to have dropped the maintenance of this package), I'm forking the repository under my company account, merging all interesting commits of all forks and start maintaining it.

IlCallo commented 6 years ago

I created a new repository, added some fixes and integrated many features of some forks of this project, if anyone is interested

xembill commented 6 years ago

same error for me in laravel 5.6

IlCallo commented 6 years ago

Try the version I linked, let me know if it works

xembill commented 6 years ago

composer require dreamonkey/laravel-onesignal-rest-api that repo works successfully.