envoylope/amqp-enqueue

Installs: 1 354

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:project

v0.1.1 2024-05-29 21:46 UTC

This package is auto-updated.

Last update: 2024-10-29 22:44:25 UTC


README

Build Status

Integrates Enqueue into an application using PHP AMQP-Compat via Enqueue amqp-ext.

Usage

Install this package with Composer as a Nytris package:

$ composer install envoylope/amqp-enqueue

Configuring Nytris platform

Configure Nytris platform to use this package:

nytris.config.php:

<?php

declare(strict_types=1);

use Envoylope\EnqueueAmqp\EnqueueAmqpPackage;
use Nytris\Boot\BootConfig;
use Nytris\Boot\PlatformConfig;

$bootConfig = new BootConfig(new PlatformConfig(__DIR__ . '/var/cache/nytris'));

// ...

$bootConfig->installPackage(new EnqueueAmqpPackage());

// ...

return $bootConfig;

You'll probably also want to install Nytris Shift Symfony for transpiled code caching.

See also