genealabs/laravel-pivot-events
Adds pivot table events to Laravel many-to-many relationships, firing PivotAttached, PivotDetached, PivotUpdated, and PivotSaved so you can hook into attach, detach, and update operations using listeners, observers, or custom pivot models.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| signifly/laravel-pivot-events | 0.88 | Laravel package that fires Eloquent model events for pivot tables on many-to-many relationships. It dispatches attaching, attached, detaching, detached, updating, updated, saving, and saved events, letting you hook into sync, attach, and detach operations without custom code. | 10 | 10 | 5 | 142 | 0 | 0.2 | 11.2 | MIT | 2 years ago | |
| mikebronner/laravel-pivot-events | 0.86 | 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. | 141 | 141 | 12 | 162K | 0 | 12.4 | 44.7 | MIT | 8 months ago | |
| josezenem/laravel-make-migration-pivot | 0.86 | A Laravel package that adds an Artisan command for generating pivot table migrations between two models, simplifying many-to-many setup with correctly named foreign keys and timestamps while reducing boilerplate. | 20 | 20 | 4 | 2K | 0 | 0.9 | 27.3 | MIT | 1 year ago | |
| fico7489/laravel-pivot | 0.86 | — | 527 | 528 | 53 | 116K | 2 | 13.9 | 33.4 | MIT | 1 year ago | |
| xedi/eloquent-sync | 0.85 | xedi/eloquent-sync is a Laravel package for keeping Eloquent models synchronized with external systems. It helps map model data, push and pull changes, and keep local records consistent with remote sources, reducing custom integration boilerplate for sync workflows. | 1 | 1 | 0 | 0 | 1 | 0.2 | — | MIT | 6 years ago | |
| audunru/eager-load-pivot-relations | 0.85 | Eager load relations on pivot models in Laravel Eloquent BelongsToMany relationships. Add the EagerLoadPivotTrait to the related model to load nested pivot data such as units or quantities. Supports Laravel 8 and above. | 9 | 9 | 1 | 4K | 1 | 14.8 | 39.8 | — | 5 months ago | |
| kingmaker/laravel-many-to-many-self-relationship | 0.85 | A Laravel Eloquent package for many-to-many self-referential relationships like followers/following, friends, or related models. It provides a reusable trait for managing pivot records, inverse relations, and attach/detach-style operations cleanly. | 18 | 19 | 2 | 8K | 1 | 0.3 | 36.0 | — | — | |
| ajcastro/eager-load-pivot-relations | 0.85 | Laravel package that eager loads relations defined on pivot models in many-to-many relationships, eliminating N+1 queries when accessing nested pivot data. Use familiar Eloquent syntax to keep role_user, post_tag, and similar pivot records fast and clean. Drop-in trait and builder methods make setup... | 244 | — | 20 | — | 8 | 4.3 | 2.3 | — | 4 years ago | |
| altek/eventually | 0.85 | Eventually is a Laravel event sourcing package for modeling applications around domain events. It offers aggregates, event storage, projectors, and reactors, giving you an expressive way to persist state changes as an append-only event log. | 0 | 8 | — | 30K | — | 0.0 | 55.3 | — | — | |
| chelout/laravel-relationship-events | 0.84 | Adds the missing relationship events to Laravel Eloquent models. Traits for hasOne, belongsTo, hasMany, belongsToMany, morphOne, morphTo, morphMany, morphToMany, and morphedByMany let you listen for saved, updated, attached, detached, and other events, useful for cache invalidation and audit logs. | 526 | 528 | 40 | 106K | 0 | 23.1 | 35.1 | MIT | 5 months ago | |
| illuminatech/sync-many-attribute | 0.84 | Laravel package for synchronizing many-to-many related records and their attributes through a single model. Save related model attributes, including pivot data, using familiar form binding and validation, simplifying complex multi-record editing without custom sync logic. | 15 | — | 0 | — | 0 | 0.1 | — | NOASSERTION | — | |
| a2zwebltd/auditable-relations | 0.84 | Auditable Relations extends Laravel auditing to relationship changes, so attaches, detaches, syncs, and related model updates are captured automatically. Get a clear, queryable history of who changed what and when, without wiring audit logic into every relation by hand. | 4 | 4 | 0 | 791 | 0 | 18.4 | 35.3 | MIT | 1 month ago | |
| timwassenburg/laravel-pivot-table-generator | 0.84 | Generate pivot table migrations for Laravel many-to-many relationships with this package. It scaffolds the intermediate tables Eloquent needs, helping you set up and maintain consistent database schemas with less boilerplate. | 8 | — | 1 | — | 0 | 0.6 | — | MIT | 3 years ago | |
| genealabs/laravel-mixpanel | 0.83 | Laravel Mixpanel integrates Mixpanel analytics into Laravel apps with a simple facade, config-based tracking, and automatic user identification. Send events, track page views, and manage distinct IDs and opt-out without boilerplate. | 123 | 122 | 56 | 10K | 0 | 10.5 | 28.0 | MIT | 7 months ago | |
| mvanduijker/laravel-transactional-model-events | 0.83 | — | 75 | 75 | 10 | 8K | 0 | 12.4 | 29.8 | MIT | 8 months ago | |
| binaryk/laravel-restify | 0.82 | Laravel Restify is a fast, modular API builder for Laravel. Define repositories to expose Eloquent models with built-in filtering, sorting, pagination, relationships, validation, and authorization—helping you ship clean RESTful APIs with less boilerplate. | 683 | — | 65 | — | 0 | 26.0 | 0.9 | MIT | 1 week ago | |
| eventsauce/laravel-eventsauce | 0.82 | Laravel integration for EventSauce event sourcing. Wire message dispatchers, event repositories, and consumers into Laravel’s container with publishable config, queue-friendly dispatching, and conventions for aggregates and projections in Laravel applications. | 98 | 98 | 18 | 8 | 5 | 3.2 | 3.9 | MIT | 4 years ago | |
| whilesmart/eloquent-roles | 0.81 | A lightweight Laravel package for assigning roles and permissions to Eloquent models. Define roles, attach them to users or any model, and check abilities with simple, expressive methods—no heavy dependencies or complex setup required. | 2 | 2 | 2 | 311 | 1 | 7.1 | 29.6 | — | 8 months ago | |
| spatie/laravel-event-sourcing | 0.81 | spatie/laravel-event-sourcing is the entry point for event sourcing in Laravel, helping you set up aggregates, projectors, and reactors. Great for apps that need to make decisions based on the past, meet auditing requirements, or support future reporting. | 919 | 919 | 176 | 281K | 0 | 38.6 | 40.2 | MIT | 1 week ago |
How can I help you explore Laravel packages today?