mpociot / laravel-firebase-sync

Synchronize your Eloquent models with a Firebase Realtime Database.
http://marcelpociot.com/blog/2016-06-20-synchronise-laravel-eloquent-models-with-firebase
265 stars 71 forks source link

Laravel Firebase Sync Composer Failure #2

Open iamonuwa opened 8 years ago

iamonuwa commented 8 years ago

Anytime I run composer require mpociot/laravel-firebase-sync,

I get Problem 1

mpociot commented 8 years ago

Sorry for the late reply - I was on vacation.

Can you show me what else is in your composer.json file?

iamonuwa commented 8 years ago

laravel

That's my composer.json file...

mpociot commented 8 years ago

Please remove your ktamas77/firebase-php dependency in your composer.json.

Your composer.json file requires the dev-master branch of the ktamas77/firebase-php package, while my firebase-sync package uses a stable version. That's why both versions conflict and you can't install it.

iamonuwa commented 8 years ago

So how should I do it... Screenshot will be welcomed...

mpociot commented 8 years ago

Just remove ktamas77/firebase-php from your composer.json file and run composer update

iamonuwa commented 8 years ago

I just updated. Thank you...

iamonuwa commented 8 years ago

error Encountered this error while running the demo on your site...