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

is this package working still? #31

Open dextherry opened 5 years ago

dextherry commented 5 years ago

Hi, I am using laravel 5.5, I did all the settings but it is not working at all, the model is just giving the data of the mysql local database, not the firebase data

namespace App;

use Illuminate\Database\Eloquent\Model;
use Mpociot\Firebase\SyncsWithFirebase;

class Location extends Model
{
    use SyncsWithFirebase;
    protected $table = 'location';
}

I have a structure "location" in firebase, but I can not retrieve data from it, help please Regards