laravel-reactions icon indicating copy to clipboard operation
laravel-reactions copied to clipboard

Implement reactions for your Eloquent models, easily.

Results 2 laravel-reactions issues
Sort by recently updated
recently updated
newest added

public function isReactedBy($responder = null) { if (is_null($responder)) { $responder = auth()->user(); } return $this->reactions() ->where('responder_id', $responder->id) ->where('responder_type', get_class($responder))->exists(); }

Thank you for this! I'm having an issue where when a user reacts to a post, if they react again, instead of replacing the current reaction, a new record is...