PHPackages                             merlinthemagic/mtm-queues - 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. merlinthemagic/mtm-queues

ActiveLibrary[Queues &amp; Workers](/categories/queues)

merlinthemagic/mtm-queues
=========================

Message Queueing tools for PHP 7

027PHP

Since Mar 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/merlinthemagic/MTM-Queues)[ Packagist](https://packagist.org/packages/merlinthemagic/mtm-queues)[ RSS](/packages/merlinthemagic-mtm-queues/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

MTM-Queues
==========

[](#mtm-queues)

System V:
---------

[](#system-v)

### Get a queue:

[](#get-a-queue)

```
$name		= "myQueueName";
$perm		= "0600";
$msgFact	= \MTM\Queues\Factories::getMessages()->getSystemFive();
$queueObj	= $msgFact->getQueue($name, $perm);

```

### Add a message to the queue

[](#add-a-message-to-the-queue)

```
$data		= "some data";
$type		= 1; //1 is default
$queueObj->setData($data, $type);

```

### get a message to the queue

[](#get-a-message-to-the-queue)

```
$type		= 0; //0 is return any message, if you are looking for a specific message type, change this
$msgObj	= $queueObj->getData($type); //by default not blocking, will return object with type === null on empty

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity19

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://avatars.githubusercontent.com/u/8021715?v=4)[Martin Peter Madsen](/maintainers/merlinthemagic)[@merlinthemagic](https://github.com/merlinthemagic)

---

Top Contributors

[![merlinthemagic](https://avatars.githubusercontent.com/u/8021715?v=4)](https://github.com/merlinthemagic "merlinthemagic (14 commits)")

### Embed Badge

![Health badge](/badges/merlinthemagic-mtm-queues/health.svg)

```
[![Health](https://phpackages.com/badges/merlinthemagic-mtm-queues/health.svg)](https://phpackages.com/packages/merlinthemagic-mtm-queues)
```

###  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)
