PHPackages                             joeward/kafka-cannon - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. joeward/kafka-cannon

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

joeward/kafka-cannon
====================

Fires events at kafka

0.0.10(7y ago)011MITPHP

Since Sep 14Pushed 7y agoCompare

[ Source](https://github.com/LardyFatLips/kafka-cannon)[ Packagist](https://packagist.org/packages/joeward/kafka-cannon)[ RSS](/packages/joeward-kafka-cannon/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (10)Used By (0)

Kafka Cannon

Why?
----

[](#why)

TBA

Installing
----------

[](#installing)

```
$> composer require joeward/kafka-cannon
```

Ensure that you have setup kafka-cannon.yml as below

Topics: Have topic name underneath

Payload: Information is stored within payload. These can be hard coded or left as blank/used with the random-data option

Attribute-type: Is the type which is also used in the url

Enabled: Signifies if to include the topic for testing, true/false value

Random-data: signifies if you want to seed your blank payload values with random data. true/false value

Broker: Is the kafka url

Order: Choose between sequential or random. Sequential fires the topics as displayed in the yaml, random means order is random

Ammo: How many times you want the topics to be published/fired

```
topics:
    test_topic:
            payload:
                  Id: 123
                  Name: testname
                  testfield:
                  morefields:
                  andmorefields:
                  andmore:
            attribute-type: test
            enabled: true
            random-data: true
    my_other_topic:
            payload:
                  Id: 456
                  Name: testname2
                  otherfield:
                  lotsofdata:
            attribute-type: test2
            enabled: true
            random-data: true
broker: 1
order: sequential
ammo: 5
```

Use
---

[](#use)

Call kafka-fire from project root

```
$> vendor/joeward/kafka-cannon/src/kafka-fire.php
```

Known Issues
------------

[](#known-issues)

Not in bin

Notes
-----

[](#notes)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~0 days

Total

9

Last Release

2795d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/19c29316d9909908e4f1eae76a4f501e8ac348a1a3ced7085609c077d411d5ac?d=identicon)[LardyFatLips](/maintainers/LardyFatLips)

---

Top Contributors

[![joeoward](https://avatars.githubusercontent.com/u/7404882?v=4)](https://github.com/joeoward "joeoward (13 commits)")

### Embed Badge

![Health badge](/badges/joeward-kafka-cannon/health.svg)

```
[![Health](https://phpackages.com/badges/joeward-kafka-cannon/health.svg)](https://phpackages.com/packages/joeward-kafka-cannon)
```

###  Alternatives

[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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