Message Repository for Illuminate

Packagist Version

composer require eventsauce/message-repository-for-illuminate
use EventSauce\MessageRepository\IlluminateMessageRepository\IlluminateUuidV4MessageRepository;
use EventSauce\MessageRepository\TableSchema\DefaultTableSchema;
use EventSauce\UuidEncoding\BinaryUuidEncoder;

$messageRepository = new IlluminateUuidV4MessageRepository(
    connection: $connection,
    tableName: $tableName,
    serializer: $messageSerializer,
    tableSchema: new DefaultTableSchema(), // optional
    uuidEncoder: new BinaryUuidEncoder(), // optional
);
Frank de Jonge

EventSauce is a project by Frank de Jonge.