chelout/laravel-relationship-events
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-eventsauce | 0.86 | Integrate EventSauce event sourcing into Laravel with migrations, models, and queued jobs. Generate aggregate roots, repositories, events and commands via Artisan. Store domain messages per aggregate and dispatch consumers synchronously or through queues. | 121 | 121 | 15 | 79 | 0 | 3.5 | 3.0 | MIT | 5 years ago | |
| event-engine/php-persistence | 0.86 | Event Engine PHP Persistence Package providing persistence layer utilities for PHP-based event-sourced and CQRS applications. Supports storing and retrieving events and state in a consistent way to integrate with Event Engine workflows. | 6 | 6 | 5 | 6K | 0 | 4.1 | 39.2 | MIT | 1 year 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 | — | — | |
| korridor/laravel-has-many-sync | 0.85 | — | 36 | 36 | 3 | 14K | 0 | 11.4 | 38.6 | MIT | 6 months ago | |
| fico7489/laravel-pivot | 0.85 | — | 527 | 528 | 53 | 116K | 2 | 13.9 | 33.4 | MIT | 1 year ago | |
| event-engine/php-event-store | 0.85 | — | 5 | 5 | 3 | 7K | 1 | 1.8 | 42.0 | MIT | 1 year ago | |
| cvek/domain-events | 0.85 | — | 2 | 2 | 1 | 25 | 0 | 0.6 | 20.5 | MIT | 1 year ago | |
| eventsauce/object-hydrator | 0.84 | Magic-less object hydration and serialization for PHP. Map arrays/decoded JSON to DTOs, commands, queries, and events by inspecting constructors and public getters—no private-property reflection. Supports custom keys, casting, and optional code generation for speed. | 330 | 332 | 29 | 107K | 9 | 8.6 | 38.8 | MIT | 4 years ago | |
| surgio/eloquent-message-repository | 0.84 | — | 0 | 0 | 0 | 517 | 0 | 12.7 | 41.0 | — | 5 months ago | |
| gpslab/domain-event | 0.84 | A lightweight, framework-agnostic PHP domain event library. It provides an event bus, listener and subscriber registration, event-to-listener mapping, and deferred event dispatch to help decouple domain logic. | 18 | — | 2 | — | 0 | 0.2 | — | MIT | 7 years ago |
|
| spatie/laravel-event-projector | 0.84 | Deprecated in favor of spatie/laravel-event-sourcing. Entry-level event sourcing toolkit for Laravel: define aggregates, projectors, and reactors; persist domain events, build read models, and react to events for auditing and reporting-friendly apps. | 634 | 661 | 60 | 268 | 0 | 7.0 | 1.5 | MIT | 7 years ago | |
| ankurk91/laravel-eloquent-relationships | 0.84 | — | 58 | 59 | 9 | 8K | 0 | 0.3 | 20.7 | MIT | — | |
| fntneves/laravel-transactional-events | 0.84 | Laravel Transactional Events delays event dispatching until the surrounding database transaction commits, so listeners never run for rolled-back work. It integrates with Laravel’s event system to keep side effects consistent with persisted data. | 319 | 321 | 33 | 71K | 0 | 2.9 | 32.4 | MIT | 1 year ago | |
| eventsauce/message-repository-table-schema | 0.84 | — | 1 | 1 | 0 | 31K | 0 | 0.0 | 55.3 | — | — | |
| djunehor/laravel-revert-query | 0.84 | — | 8 | 9 | 0 | 0 | 0 | 0.6 | — | — | 6 years ago | |
| event-engine/php-engine | 0.84 | CQRS/Event Sourcing framework for PHP to rapidly build event-sourced applications and evolve toward richer domain models. Customize architecture and programming style via “Flavours,” with a full tutorial and separate documentation repo. | 54 | 54 | 11 | 1K | 4 | 10.3 | 18.6 | MIT | 1 year ago | |
| event-engine/php-schema | 0.84 | Event Engine PHP Schema provides PHP type definitions to describe and validate event-driven message payloads. Define schemas for commands, events, and queries with reusable types, enabling consistent serialization, documentation, and tooling across your services. | 3 | 3 | 1 | 7K | 1 | 1.0 | 44.8 | MIT | 5 years ago | |
| eventsauce/laravel-eventsauce | 0.84 | 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 | |
| jpkleemans/attribute-events | 0.84 | — | 335 | 335 | 21 | 20K | 2 | 6.3 | 24.7 | MIT | 1 year ago | |
| eventsauce/message-repository-for-illuminate | 0.84 | Laravel integration for EventSauce message repositories, letting you persist and retrieve domain events through Illuminate's database and Eloquent layers. Configure a message repository in your app and use it to store event streams, with support for Laravel's connections and transaction handling. | 0 | 0 | 4 | 27K | 0 | 0.2 | 55.3 | — | — |
How can I help you explore Laravel packages today?