envoylope / amqp-enqueue
Installs: 1 702
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- asmblah/php-amqp-compat: ^0.4
- asmblah/php-code-shift: ^0.1
- nytris/nytris: ^0.1
Requires (Dev)
- enqueue/amqp-ext: ^0.10
- enqueue/enqueue: ^0.10
- enqueue/enqueue-bundle: ^0.10
- mockery/mockery: 1.6.11
- phpstan/phpstan: ^1.10
- phpstan/phpstan-mockery: ^1.1
- phpstan/phpstan-symfony: ^1.3
- phpunit/phpunit: ^10.2
- symfony/console: ^5.0
- symfony/framework-bundle: ^5.0
- symfony/http-kernel: ^5.0
- symfony/monolog-bundle: ^3.8
- symfony/yaml: ^5.0
README
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
- PHP AMQP-Compat, which is used by this library.