laravel-mongodb
laravel-mongodb copied to clipboard
Laravel Broadcasting Notification with Jenssegers, Reports prepare on NULL()
Hi
I agree the issue because of connectivity between model.
As per the jessengers package guidelines. Instead of use Illuminate\Database\Eloquent\Model; am using this use Jenssegers\Mongodb\Eloquent\Model;
But how can i overwride the Notification Model Class.
I am trying for $user->notify(SomeClass::Class($data));
i discovered a package that can help you in this case https://github.com/boytunghc/laravel-mongo-notifiable
A lite bit late, I've deleted the package for a while. I thought it wasn't useful. You can still use my package at Packagist: boytunghc/laravel-mongo-notifiable