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 70 forks source link

I am unable to require this package to composer #14

Open daemswibowo opened 7 years ago

daemswibowo commented 7 years ago

Can someone help me, i'm newbie with firebase and work with this package but i got this error message while require it into composer. This is the error message i got :

composer require mpociot/laravel-firebase-sync
Content-Length mismatch
http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Using version ^1.0 for mpociot/laravel-firebase-sync
./composer.json has been updated
Loading composer repositories with package information
The "https://packagist.org/packages.json" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
failed to open stream: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known
https://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Updating dependencies (including require-dev)

Installation failed, reverting ./composer.json to its original content.

  [Composer\Downloader\TransportException]                                     
  The "http://packagist.org/p/symfony/yaml%2474f909d01c1b876f81465c3b0f1242a3  
  cdae462ee462fe2125a5a9e21a738346.json" file could not be downloaded (HTTP/1  
  .1 302 Found)                                                                

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
luceos commented 7 years ago

This seems to be a networking issue on your side. This has nothing to do with the package. Are you able to download any other package (you've never used before)?