hootlex / laravel-friendships

This package gives Eloquent models the ability to manage their friendships.
MIT License
706 stars 151 forks source link

Method Illuminate\Events\Dispatcher::fire does not exist #145

Open nabilahmed7 opened 3 years ago

nabilahmed7 commented 3 years ago

Kindly change this in an updated version as The fire() method is an alias to the dispatch() method. The renaming of this method started way back in the 5.3 to 5.4 upgrade, and is included in the upgrade guide:

https://laravel.com/docs/5.4/upgrade

Thanks as we can use this package fro laravel updated versions

sloan58 commented 3 years ago

I just submitted a PR for this. Hopefully it's sufficient and will be merged.

marcelleza8 commented 2 years ago

Hi, i'm using laravel 8 and and hootlex/laravel-friendships ^1.0, and facing same problem, which version should i use from this package?

TechTailor commented 2 years ago

This package has not been updated to support Laravel 8. The last supported version of Laravel is v5.3 I think.

-TT

arpDaw commented 1 year ago

I just submitted a PR for this. Hopefully it's sufficient and will be merged.

I just aplied your solution and it worked perfectly. Thank you! :D