PHPackages                             assessment/module-simple-queue - 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. assessment/module-simple-queue

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

assessment/module-simple-queue
==============================

Assessment Simple Queue Magento 2 module

00PHP

Since Apr 13Pushed 1mo agoCompare

[ Source](https://github.com/AnthonyCicchelli/test-queue)[ Packagist](https://packagist.org/packages/assessment/module-simple-queue)[ RSS](/packages/assessment-module-simple-queue/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Assessment Simple Queue
=======================

[](#assessment-simple-queue)

This repository is the Magento 2 module package root for `Assessment_SimpleQueue`.

Documentation
-------------

[](#documentation)

- `README.md` explains installation and day-one usage.
- `TEST_CASES.md` defines the verification matrix.
- `TEST_RESULTS.md` records the current test run against that matrix.

Package
-------

[](#package)

- Packagist: `assessment/module-simple-queue`
- Packagist URL: `https://packagist.org/packages/assessment/module-simple-queue`

What It Does
------------

[](#what-it-does)

The module publishes a message to Magento's message queue from three entry points:

- CLI command: `bin/magento simple-queue:publish`
- REST endpoint: `POST /rest/V1/simple-queue/publish`
- Storefront product page observer: Magento's `catalog_controller_product_view` event

Consumed messages are written to `var/log/consumer.log` in this format:

`Message published at  and consumed at `

Install
-------

[](#install)

### Composer / Packagist install

[](#composer--packagist-install)

If the package is available in your Composer sources, install it with:

```
composer require assessment/module-simple-queue:dev-main
php bin/magento module:enable Assessment_SimpleQueue
php bin/magento setup:upgrade
php bin/magento cache:clean
```

If your project uses production mode, also run:

```
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
```

### Manual drop-in install

[](#manual-drop-in-install)

Copy this repository into your Magento project so the final path is:

```
app/code/Assessment/SimpleQueue

```

Then run:

```
bin/magento module:enable Assessment_SimpleQueue
bin/magento setup:upgrade
bin/magento cache:clean
```

If your project uses production mode, also run:

```
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
```

Queue Requirements
------------------

[](#queue-requirements)

This module is intended for Magento projects with a working message queue backend. The tested environment used RabbitMQ over Magento's `amqp` connection.

The module expects Magento's queue infrastructure to be available so that:

- the topic `assessment.simple_queue.publish` can be published
- the queue `assessment.simple_queue` can be consumed

How To Test
-----------

[](#how-to-test)

Start a consumer:

```
bin/magento queue:consumers:start assessment.simple_queue.consumer
```

Test the CLI publisher:

```
bin/magento simple-queue:publish
```

Test the REST publisher:

```
curl -X POST https://your-magento-host/rest/V1/simple-queue/publish
```

Expected REST response:

```
OK

```

Then check:

```
tail -f var/log/consumer.log
```

Consumer Log
------------

[](#consumer-log)

The consumer writes to:

```
var/log/consumer.log

```

Expected log format:

```
Message published at  and consumed at

```

You can watch it live with:

```
tail -f var/log/consumer.log
```

Example output from the anthony UAT environment:

```
[2026-04-12T23:34:36.040467+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:34:29+00:00 and consumed at 2026-04-12T23:34:36+00:00 [] []
[2026-04-12T23:36:56.187552+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:36:44+00:00 and consumed at 2026-04-12T23:36:56+00:00 [] []
[2026-04-12T23:38:38.444792+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:38:37+00:00 and consumed at 2026-04-12T23:38:38+00:00 [] []
[2026-04-12T23:40:53.995933+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:40:53+00:00 and consumed at 2026-04-12T23:40:53+00:00 [] []
[2026-04-12T23:40:53.998496+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:40:53+00:00 and consumed at 2026-04-12T23:40:53+00:00 [] []
[2026-04-12T23:43:23.684897+00:00] assessment_simple_queue.INFO: Message published at 2026-04-12T23:43:23+00:00 and consumed at 2026-04-12T23:43:23+00:00 [] []
[2026-04-13T02:03:13.681435+00:00] assessment_simple_queue.INFO: Message published at 2026-04-13T02:03:13+00:00 and consumed at 2026-04-13T02:03:13+00:00 [] []

```

Notes
-----

[](#notes)

- The REST response is forced to plain text `OK`.
- The storefront hook uses a Magento product view observer.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance59

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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/a3266620b4b03de81f7062ced5412574ae5a83ffc55b71b9ee6045c7a49cbeb4?d=identicon)[AnthonyCicchelli](/maintainers/AnthonyCicchelli)

---

Top Contributors

[![AnthonyCicchelli](https://avatars.githubusercontent.com/u/38407754?v=4)](https://github.com/AnthonyCicchelli "AnthonyCicchelli (1 commits)")

### Embed Badge

![Health badge](/badges/assessment-module-simple-queue/health.svg)

```
[![Health](https://phpackages.com/badges/assessment-module-simple-queue/health.svg)](https://phpackages.com/packages/assessment-module-simple-queue)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M29](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6145.5M491](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[prooph/event-store-symfony-bundle

109256.9k10](/packages/prooph-event-store-symfony-bundle)[ezsystems/ezscriptmonitor-ls

eZ Publish extension that aims to avoid timeout problems and database corruption by moving long running processes from the GUI to the background.

13208.2k](/packages/ezsystems-ezscriptmonitor-ls)

PHPackages © 2026

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