Download the PHP package jardisadapter/messaging without Composer

On this page you can find all versions of the php package jardisadapter/messaging. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package messaging

Jardis Messaging

Build Status PHP Version

Part of the Jardis Business Platform — Enterprise-grade PHP components for Domain-Driven Design

Multi-transport messaging with a unified API for Redis, Kafka, RabbitMQ, Database, and InMemory. ConnectionFactory creates transport-specific connections; PublisherFactory and ConsumerFactory produce typed publishers and consumers from those connections. MessagePublisher and MessageConsumer are immutable facades that accept one or more transport instances via constructor injection and provide automatic serialization, priority-based failover, and graceful shutdown.


Features


Installation

Optional extensions (install only what you need):

PDO (Database transport) is always available via ext-pdo.


Quick Start


Priority Failover

Constructor order determines priority — first argument is tried first. On MessageException, the next transport is used automatically.


Transports

Redis

Supports both Pub/Sub (default) and Streams mode.

Kafka

Separate connection types for producer and consumer. Consumer group ID is configured on the connection.

RabbitMQ

Queue-based messaging with automatic ACK/NACK handling.

Database (PDO)

No external broker required — uses the application's existing database. Supports MySQL, PostgreSQL, and SQLite.

Schema: src/Schema/domain_events.sql

InMemory (Testing)

Synchronous in-memory transport for unit and integration tests.


External Connections

Wrap existing connections from legacy systems, DI containers, or frameworks.

When manageLifecycle: false, disconnect() is a no-op — the external system owns the connection lifecycle.


MessagingService (Lazy Loading)

Defers publisher and consumer creation until first use. Ideal for DI containers.


Error Handling

All exceptions extend MessageException:

Exception When
ConnectionException Connection fails, getClient() called without connect()
PublishException Publishing fails, serialization error, validation failure
ConsumerException Consumer initialization or polling fails

Publisher fallback only triggers on MessageException — other exceptions propagate immediately.

Consumer state-cleanup is performed before re-throwing: NACK in RabbitMQ, attempt tracking in Database, requeue in InMemory.


Documentation

Full documentation, guides, and API reference:

docs.jardis.io/en/adapter/messaging

License

This package is licensed under the MIT License.


Jardis · Documentation · Headgent

KI-gestützte Entwicklung

Dieses Package liefert einen Skill für Claude Code, Cursor, Continue und Aider mit. Installation im Konsumentenprojekt:

Mehr Details: https://docs.jardis.io/en/skills


All versions of messaging with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-pcntl Version *
ext-pdo Version *
jardissupport/contract Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jardisadapter/messaging contains the following files

Loading the files please wait ...