mikebronner/laravel-pivot-events
This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.
13.1.0
1.0M downloads/mo
#2205 most downloaded on Packagist
mikebronner/laravel-pivot-events
What this package is like to depend on
Last release 5 months ago
28 Feb 2026
Release timing varies
gaps range from 2 weeks to 1.4 years
Some releases are documented
notes for 8 of 16 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
16 releases · first in 2019
2 releases in the last 12 months
see the full history below
Release timeline
16 releases · May 2019 to Feb 2026Releases
latest 16-
13.1.028 Feb 2026Release notes
Open source →Changed
- ✨ suppress pivotSynced and pivotDetached events when no changes occur. by @mikebronner in #22
Full Changelog: 13.0.0...13.1.0
-
13.0.028 Feb 2026Release notes
Open source →Added
- ✨pass pivot payload to custom event classes via ReceivesPivotPayload interface (closes #17) by @mikebronner in #18
- ⬆️ Added support for PHP 8.3–8.5 and Laravel 13, require PHP 8.2+. by @mikebronner in #21
Fixed
- 🐛 Fire pivot events during sync operations by @mikebronner in #20
- 🐛 Remove duplicate observer events from getObservableEvents by @mikebronner in #19
Full Changelog: 12.0.0...13.0.0
-
12.0.026 Feb 2025Release notes
Open source →Added
- Laravel 12 compatibility.
Changed
- namespace from
genealabs/laravel-pivot-eventstomikebronner/laravel-pivot-events.
-
11.0.014 Mar 2024 -
10.0.122 Mar 2023Nothing published for this version
-
10.0.017 Feb 2023Nothing published for this version
-
9.0.430 Mar 2022Release notes
Open source →Changed
- broadcast event name format to match the default Laravel model events:
<model class><event>, e.g.ModelPivotAttached.
- broadcast event name format to match the default Laravel model events:
-
9.0.330 Mar 2022Release notes
Open source →Added
- model broadcasting of events, if the model is configured for that.
- Laravel 8 compatibility. This will be removed in a future patch, and is only temporarily present for debugging purposes.
-
9.0.223 Mar 2022Release notes
Open source →Added
- sync events (previously syncing resulted in detach and attach events). Thanks @AbdelPlayPlay!
-
9.0.109 Feb 2022 -
9.0.009 Feb 2022Nothing published for this version
-
0.3.029 Feb 2020Nothing published for this version
-
0.2.114 Sep 2019Nothing published for this version
-
0.2.029 Aug 2019Nothing published for this version
-
0.1.017 May 2019Nothing published for this version
-
8.008 Sep 2020Nothing published for this version