envoylope/amqp-enqueue

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

This package is auto-updated.

Last update: 2024-08-29 22:17:32 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