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

Laravel With FireBase #10

Open imjaysoninfante opened 7 years ago

imjaysoninfante commented 7 years ago

Hi,

I used this larvel-firebase-sync everything is working until I use my Model having traits use Mpociot\FireBase\SyncsWithFireBase; when I add on my model and add some dummy data using seeder my data are syncing on my local machine data and firebase, but when I try add the model that using the use Mpociot\FireBase\SyncsWithFireBase; it says Mpociot\FireBase\SyncsWithFireBase not found.

Please help

Thanks

theunreal commented 7 years ago

trait 'Mpociot\Firebase\SyncsWithFirebase' not found - Same here

luceos commented 7 years ago

Mpociot\Firebase\SyncsWithFirebase is the correctly namespaced Trait, please note the lowercase b in Firebase.