PHPackages                             ofertix/publisher-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. ofertix/publisher-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

ofertix/publisher-cli
=====================

PublisherCli is the component that allows publish events or stats using a console command.

421PHP

Since Jul 8Pushed 13y ago7 watchersCompare

[ Source](https://github.com/ofertix/PublisherCli)[ Packagist](https://packagist.org/packages/ofertix/publisher-cli)[ RSS](/packages/ofertix-publisher-cli/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

What is "PublisherCli"?
=======================

[](#what-is-publishercli)

PublisherCli is the component that allows publish events or stats using a console command.

You only need to get one file: `publisher_cli.phar`.

This file contains configuration and commands to change it.

Requirements
============

[](#requirements)

- PHP 5.3.2 and up witch pcntl extension installed.
- RabbitMQ or ZMQ.

Libraries and services used
===========================

[](#libraries-and-services-used)

- PHP
    - Phar
    - Symfony Components:
        - ClassLoader
        - YAML
    - PhpAmqpLib
- RabbitMQ/ZMQ+OpenPGM

Installation
============

[](#installation)

The best way to install is to clone the repository and then configure as you need. See "Configuration" section.

After cloning you must install dependencies using "composer":

```
php composer.phar update

```

Usage
=====

[](#usage)

Help: php publisher\_cli.phar --help

Publish stat: php publisher\_cli.phar --name=\[stat\_name\] --types=\[type1,type2...\] --values=\[STDIN|value,STDIN|value...\]

Publish event: php publisher\_cli.phar --name=\[event\_name\] --event

Configure: get current configuration: php publisher\_cli.phar config

```
set configuration:
    php publisher_cli.phar config set [param1.subparam1.subsubparam1] [new_value]

```

Configuration
=============

[](#configuration)

All configuration is done using a YAML file.

You only have to configure the publisher class and options.

See config file for more details.

Extra notes
===========

[](#extra-notes)

Use of ZMQ is discontinued because a memory leak using ZMQ with OpenPGM PUB/SUB.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b35088a631c9044fd825de62ac37394798506dc06b91ece08811b74bb29ce3c?d=identicon)[jordillonch](/maintainers/jordillonch)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ofertix-publisher-cli/health.svg)

```
[![Health](https://phpackages.com/badges/ofertix-publisher-cli/health.svg)](https://phpackages.com/packages/ofertix-publisher-cli)
```

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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