Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Pivot Events Laravel Package

mikebronner/laravel-pivot-events

Adds Eloquent model events for many-to-many pivot operations: sync, attach, detach, and updateExistingPivot on BelongsToMany/MorphToMany. Listen for pivotSyncing/Synced, pivotAttaching/Attached, pivotDetaching/Detached, and pivotUpdating/Updated.

View on GitHub
Deep Wiki
Context7
13.1.0

Changed

Full Changelog: https://github.com/mikebronner/laravel-pivot-events/compare/13.0.0...13.1.0

13.0.0

Added

Fixed

Full Changelog: https://github.com/mikebronner/laravel-pivot-events/compare/12.0.0...13.0.0

12.0.0

Added

  • Laravel 12 compatibility.

Changed

  • namespace from genealabs/laravel-pivot-events to mikebronner/laravel-pivot-events.
11.0.0

Added

  • Laravel 11 compatibility.
10.0.1

Fixed

  • double model assignment to payload breaking closures params in events. Thanks @hubov!
10.0.0

Added

9.0.4

Changed

  • broadcast event name format to match the default Laravel model events: <model class><event>, e.g. ModelPivotAttached.
9.0.3

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.2

Added

  • sync events (previously syncing resulted in detach and attach events). Thanks @AbdelPlayPlay!
9.0.1

Updated

  • readme file and composer.json info.
9.0.0

Added

  • Laravel 9 compatibility.
8.0

Updated

  • Laravel to version 8.0.
  • version jump to get inline with Laravel version.
0.3.0

Added

  • Laravel 7 compatibility.
0.2.1

Removed

  • compatibility with previous versions of Laravel.

Fixed

  • composer dependency versions.
0.2.0

Added

  • Laravel 6.0 compatibility.
0.1.0

Added

  • initial release after updating forked code.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor