PHPackages                             markiewiczl/module-order-processor - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. markiewiczl/module-order-processor

ActiveMagento2-module[Queues &amp; Workers](/categories/queues)

markiewiczl/module-order-processor
==================================

Magento 2 module that adds a comment to an order asynchronously via a queue after it's placed.

02PHP

Since May 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/markiewiczl/module-order-processor)[ Packagist](https://packagist.org/packages/markiewiczl/module-order-processor)[ RSS](/packages/markiewiczl-module-order-processor/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Markiewiczl\_OrderProcessor
===========================

[](#markiewiczl_orderprocessor)

**Asynchronously add comments to orders after placement using Magento 2 queues.**

---

Installation
------------

[](#installation)

Install the module via [Packagist](https://packagist.org/packages/markiewiczl/module-order-processor) using Composer:

```
composer require markiewiczl/module-order-processor
```

---

Overview
--------

[](#overview)

This module provides a way to add order\_id to queue and add a configurable comment to the order during asynchronous processing.

### Admin Configuration

[](#admin-configuration)

You can enable/disable the order processor and customize the comment text via the admin panel:

[![Admin Configuration](docs/images/order_processor_config.png)](docs/images/order_processor_config.png)

- **Is Enabled Order Processing** – Toggles whether the module functionality is active.
- **Comment Text** – The content of the comment added to the order when the queue message is consumed.

### ACL Permissions

[](#acl-permissions)

The module registers custom ACL resources for access control. You can manage access to the configuration via System &gt; Permissions &gt; User Roles:

[![ACL Configuration](docs/images/order_processor_acl.png)](docs/images/order_processor_acl.png)

### Order Comment Processing

[](#order-comment-processing)

The module processes orders asynchronously through RabbitMQ, adding comments to the order status history and display configured massage on admin order panel:
[![Order Comment Processing](docs/images/order_processor_message_placement.png)](docs/images/order_processor_message_placement.png)

### RabbitMQ Integration

[](#rabbitmq-integration)

Orders are processed through the message queue system:
[![RabbitMQ Message](docs/images/order_processor_rabbit_message.png)](docs/images/order_processor_rabbit_message.png)

- Messages contain order IDs for processing
- Uses the `order.processor` routing key

### Queue Consumer Operation

[](#queue-consumer-operation)

Process can be run manually using cron `bin/magento queue:consumer:start order.processor`

*OR*

The Process can run as a background if you add

```
'cron_run' => true,
'max_messages' => 10,
'consumers' => [
'order.processor',
],
'multiple_processes' => [
'order.processor' => 2
]
],

```

to you env.php file and running `bin/magento cron install`. Then you can check is process running `ps aux`:
[![Queue Consumer Process](docs/images/order_processor_process_checking.png)](docs/images/order_processor_process_checking.png)

Updates possibilities
---------------------

[](#updates-possibilities)

### Adding comment

[](#adding-comment)

By default, the order comment is added when the corresponding message is consumed from the queue. If needed, you can modify the implementation to retrieve the configuration value before the message is published, depending on your business requirements.

### RabbitMQ validation

[](#rabbitmq-validation)

Support for Dead Letter Exchange (DLX) is available, but it must be configured directly within RabbitMQ to function correctly.

This allows you to capture undeliverable or failed messages for further analysis or retry mechanisms.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/79f523edce883bae3623f672f7c6ccedab5529b932500169c3a7282259518cce?d=identicon)[markiewiczl](/maintainers/markiewiczl)

---

Top Contributors

[![markiewiczl](https://avatars.githubusercontent.com/u/90325851?v=4)](https://github.com/markiewiczl "markiewiczl (7 commits)")

### Embed Badge

![Health badge](/badges/markiewiczl-module-order-processor/health.svg)

```
[![Health](https://phpackages.com/badges/markiewiczl-module-order-processor/health.svg)](https://phpackages.com/packages/markiewiczl-module-order-processor)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
