ceedcv-maya / shared-messaging-laravel
RabbitMQ messaging layer for Laravel: typed event publishers (audit, logs, notifications, alerts), reusable consumer base, retry/DLX handling.
Package info
github.com/Maya-AQSS/shared-messaging-laravel
pkg:composer/ceedcv-maya/shared-messaging-laravel
Requires
- php: ^8.4
- illuminate/log: ^11.0 || ^12.0 || ^13.0
- illuminate/queue: ^11.0 || ^12.0 || ^13.0
- illuminate/support: ^11.0 || ^12.0 || ^13.0
- monolog/monolog: ^3.0
- php-amqplib/php-amqplib: ^3.5
- ramsey/uuid: ^4.7
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0 || ^10.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
README
RabbitMQ messaging layer for Laravel: typed event publishers (audit, logs, notifications, alerts), reusable consumer base, retry/DLX handling.
Part of the ceedcv-maya/maya_platform mono-repo. Distributed independently for reuse outside the Maya ecosystem.
Installation
composer require ceedcv-maya/shared-messaging-laravel
use Maya\Messaging\Publishers\AuditPublisher; AuditPublisher::dispatch([ 'app' => 'orders', 'action' => 'create', 'entity_type' => 'order', 'entity_id' => $order->id, 'user_id' => auth()->id(), ]);
RABBITMQ_HOST=rabbitmq.example.org RABBITMQ_USER=guest RABBITMQ_PASS=guest
TypeScript / build notes
PSR-4 autoload from src/. Service providers are registered via Laravel package discovery (no manual provider registration needed).
License
MIT — see LICENSE.
Reporting issues
The canonical source lives in Maya-AQSS/maya_platform. File issues there; this read-only split repo is only the published artifact.