Skip to content

Releases: merodiro/Friendships

Change method name

16 May 02:14
91ee0bb
Compare
Choose a tag to compare

Changed

friends_ids() -> friendsIds()

add mutualFriendsCount

16 May 01:49
180dbb2
Compare
Choose a tag to compare

Added

  • mutualFriendsCount

Add friends_ids

16 May 01:24
0f54270
Compare
Choose a tag to compare

Added

  • $user->friends_ids($anotherUser)

Use less queries

16 May 01:10
aaa608d
Compare
Choose a tag to compare

Changed

  • use less queries in friends() function

Add mutual friends

15 May 23:45
cfb79ea
Compare
Choose a tag to compare

Added

  • Mutual friends $user->mutualFriends($anotherUser)

Format return values of checkFriendship() with underscores

18 Jan 18:31
Compare
Choose a tag to compare

Changed

  • change the return value of checkFriendship() #17

Methods name changes

01 Dec 09:01
Compare
Choose a tag to compare

The purpose of these changes are mostly for grammatical correctness. The methods were changed so that their names are much clearer and immediately understandable.

  • isFriendWith -> isFriendsWith
  • friendRequestsTo -> friendRequestsReceived
  • friendRequestsFrom -> friendRequestsSent

Support Support Auto-Discovery

08 Jul 00:43
Compare
Choose a tag to compare
Pre-release
  • Add support for Support Auto-Discovery for laravel 5.5

adding isFriendWith

04 Jun 15:37
Compare
Choose a tag to compare
adding isFriendWith Pre-release
Pre-release

Check if user is friend with

$user->isFriendWith($anotherUser);

it returns true if they are friends and false if they aren't friends

Fix friend request from and to naming

09 May 15:52
Compare
Choose a tag to compare
Pre-release

Get a list of users who sent friend request to $user

$user->friendRequestsTo();

Get a list of users who have friend requests from $user

$user->friendRequestsFrom();