laravel-friendships
laravel-friendships copied to clipboard
This package gives Eloquent models the ability to manage their friendships.
@hootlex I want to add friend in group.I do not any idea in $user->groupFriend($friend, $group_name); what $group_name is realy want. it give an error as ErrorException in Friendable.php line 124:...
controller: public function add_member($group_id,$friend_id){ $user = Auth::user(); $group_name=user_group::find($group_id); $friend=User::find($friend_id); $user->groupFriend($friend, $group_name); } config/friendships.php 'groups' => [ 0 => [ 'slug'=> 'acquaintances', 'name'=> 'Acquaintances' ], 1 => [ 'slug'=> 'close_friends', 'name'=>...
Right now we define groups in config this way: ``` 'groups' => [ 'acquaintances' => 0, 'close_friends' => 1, 'family' => 2 ] ``` It means that developer has to...
Hi, using in some tests I found that if I ask a friend request, then that request is denied, if I ask another request (between same users) when the second...
good morning to all, why only getFriends() function can have the users list with paginate? how can I help to create these functions?
Not backward compatible. Groups Config structure changes. DB migrations changes.
### Improve display of deprecated errors: - [x] Unique error messages - [x] report after tests report - [x] report with Red BG ### Method to deprecate: - [x] friends()...