GitPedia
overtrue

overtrue/laravel-follow

:heart: This package helps you to add user based follow system to your model.

30 Releases
Latest: 3mo ago
6.0.0Latest
overtrueovertrue·3mo ago·March 19, 2026
GitHub

📋 Changes

  • Laravel 13+ only\n- Minimum PHP 8.3\n- Update testbench/phpunit/tooling for Laravel 13\n- Add AGENTS.md
5.3.0
overtrueovertrue·1y ago·February 25, 2025
GitHub

📋 What's Changed

  • Added explicit nullable type to attachFollowStatus parameter by @captenmasin in https://github.com/overtrue/laravel-follow/pull/201
  • Laravel 12.x Compatibility by @vool in https://github.com/overtrue/laravel-follow/pull/202

New Contributors

  • @captenmasin made their first contribution in https://github.com/overtrue/laravel-follow/pull/201
  • @vool made their first contribution in https://github.com/overtrue/laravel-follow/pull/202
  • Full Changelog: https://github.com/overtrue/laravel-follow/compare/5.2.0...5.3.0
5.2.0
overtrueovertrue·2y ago·March 13, 2024
GitHub

Added Laravel 11 support. **Full Changelog**: https://github.com/overtrue/laravel-follow/compare/5.1.1...5.2.0

5.1.1
overtrueovertrue·2y ago·January 22, 2024
GitHub

📋 What's Changed

  • FIX(README.md): Update sample code by @MartinsOnuoha in https://github.com/overtrue/laravel-follow/pull/191
  • Specified the vendor:publish --class in README.md by @titonova in https://github.com/overtrue/laravel-follow/pull/195

New Contributors

  • @MartinsOnuoha made their first contribution in https://github.com/overtrue/laravel-follow/pull/191
  • @titonova made their first contribution in https://github.com/overtrue/laravel-follow/pull/195
  • Full Changelog: https://github.com/overtrue/laravel-follow/compare/5.1.0...5.1.1
5.1.0
overtrueovertrue·3y ago·February 15, 2023
GitHub

📋 What's Changed

  • Added Laravel 10 support.
  • Update composer.json by @ams-ryanolson in https://github.com/overtrue/laravel-follow/pull/184
  • Update composer.json by @ams-ryanolson in https://github.com/overtrue/laravel-follow/pull/185

New Contributors

  • @ams-ryanolson made their first contribution in https://github.com/overtrue/laravel-follow/pull/184
  • Full Changelog: https://github.com/overtrue/laravel-follow/compare/5.0.1...5.1.0
5.0.1
overtrueovertrue·4y ago·June 25, 2022
GitHub

📋 What's Changed

  • fix get config from the right file by @ahmedesa in https://github.com/overtrue/laravel-follow/pull/175

New Contributors

  • @ahmedesa made their first contribution in https://github.com/overtrue/laravel-follow/pull/175
  • Full Changelog: https://github.com/overtrue/laravel-follow/compare/5.0.0...5.0.1
5.0.0
overtrueovertrue·4y ago·May 18, 2022
GitHub

📋 What’s Changed

  • Default table name `user_followers` changed to `followables`.
  • Renamed `followers.follower_id` to `user_id`(you can change it in the config file `app/follow.php`).
  • Renamed trait `Overtrue\LaravelFollow\Followable` to `use Overtrue\LaravelFollow\Traits\Followable`.
  • `follow()`, `unfollow()` and `toggleFollow()` only accept model used `Overtrue\LaravelFollow\Traits\Followable` trait now.
  • Removed `Followable::areFollowingEachOther` method.
  • `rejectFollowRequestFrom()`, `acceptFollowRequestFrow()`, `hasRequestedToFollow()` and `isFollowedBy` only accept model used `Overtrue\LaravelFollow\Traits\Follower` triat now.
  • Rename event property `followingId` to `followable_id`.
  • Added event property `followable_type`.
  • + 3 more

📦 Migrate from 4.x

  • 1. Update `composer.json`:
  • ```
  • overtrue/laravel-follow:^5.0
  • ```
  • Then run composer update:
  • ```bash
  • composer update
  • ```
  • + 64 more
4.1.0
overtrueovertrue·4y ago·April 6, 2022
GitHub

📋 Changes

  • Fixed the problem of duplicate data insertion #166
  • Added `approvedFollowings/notApprovedFollowings/approvedFollowers/notApprovedFollowers` relations #167 .
4.0.0
overtrueovertrue·4y ago·February 10, 2022
GitHub

**Full Changelog**: https://github.com/overtrue/laravel-follow/compare/3.1.1...4.0.0

3.1.1
overtrueovertrue·4y ago·January 23, 2022
GitHub

📋 What's Changed

  • Disable un-published migration by @zombozo12 in https://github.com/overtrue/laravel-follow/pull/169

New Contributors

  • @zombozo12 made their first contribution in https://github.com/overtrue/laravel-follow/pull/169
  • Full Changelog: https://github.com/overtrue/laravel-follow/compare/3.1.0...3.1.1
3.1.0
overtrueovertrue·4y ago·November 4, 2021
GitHub

📦 Order by followers count

  • You can query users order by followers count with following methods:
  • `orderByFollowersCountDesc()`
  • `orderByFollowersCountAsc()`
  • `orderByFollowersCount(string $direction = 'desc')`
  • example:
  • ```php
  • $users = User::orderByFollowersCountDesc()->get();
  • $mostPopularUser = User::orderByFollowersCountDesc()->first();
  • + 1 more
2.4.5
overtrueovertrue·4y ago·July 8, 2021
GitHub
2.4.4
overtrueovertrue·4y ago·July 7, 2021
GitHub
2.4.6
overtrueovertrue·4y ago·July 23, 2021
GitHub
2.4.3
overtrueovertrue·5y ago·June 15, 2021
GitHub
2.4.2
overtrueovertrue·5y ago·June 9, 2021
GitHub
3.0.1
overtrueovertrue·5y ago·June 8, 2021
GitHub
3.0.0
overtrueovertrue·5y ago·June 8, 2021
GitHub

📋 Changes

  • Added Followable::attachFollowStatus()
  • Laravel 8.0+
  • PHP 7.4+
2.4.1
overtrueovertrue·5y ago·June 8, 2021
GitHub
2.4.0
overtrueovertrue·5y ago·June 8, 2021
GitHub

📋 Changes

  • Added `Followable::attachFollowStatus()`
2.3.0
overtrueovertrue·5y ago·April 13, 2021
GitHub
2.2.1
overtrueovertrue·5y ago·November 30, 2020
GitHub
2.2.0
overtrueovertrue·5y ago·September 9, 2020
GitHub
2.1.1
overtrueovertrue·6y ago·April 25, 2020
GitHub
2.1.0
overtrueovertrue·6y ago·April 18, 2020
GitHub

📋 Changes

  • Add follow request support. #138 #101
2.0.1
overtrueovertrue·6y ago·April 13, 2020
GitHub
2.0.0
overtrueovertrue·6y ago·April 10, 2020
GitHub

📦 Updated

  • Updated relation table `user_follower`
  • Rename `Overtrue\LaravelFollow\Traits\CanFollow` to `Overtrue\LaravelFollow\Traits\Followable `

🗑️ Removed

  • Removed `Overtrue\LaravelFollow\Traits\CanBeFollowed`
  • Removed Favorite feature and move to [overtrue/laravel-favorite](https://github.com/overtrue/laravel-favorite)
  • Removed Like feature and move to [overtrue/laravel-like](https://github.com/overtrue/laravel-like)
  • Removed Subscribe feature and move to [overtrue/laravel-subscribe](https://github.com/overtrue/laravel-subscribe)
  • Removed Vote feature.
  • Removed Bookmark feature.
  • Removed events:
  • `Overtrue\LaravelFollow\Events\RelationAttaching`
  • + 5 more
1.1.16
overtrueovertrue·6y ago·March 6, 2020
GitHub
1.1.15
overtrueovertrue·6y ago·February 4, 2020
GitHub
1.1.14
overtrueovertrue·6y ago·September 4, 2019
GitHub