PHPackages                             pond5/async-request-bundle - 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. pond5/async-request-bundle

ActiveSymfony-bundle

pond5/async-request-bundle
==========================

This bundle allows sending requests to a Symfony Messenger transport to be handled later by a consumer

1.3(3y ago)9494↓100%1MITPHPPHP &gt;=7.4

Since Jul 10Pushed 3y ago13 watchersCompare

[ Source](https://github.com/PondFive/AsyncRequestBundle)[ Packagist](https://packagist.org/packages/pond5/async-request-bundle)[ RSS](/packages/pond5-async-request-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (11)Versions (6)Used By (0)

AsyncRequestBundle
==================

[](#asyncrequestbundle)

[![Pond5 Async Request Bundle](https://github.com/PondFive/AsyncRequestBundle/actions/workflows/ci.yaml/badge.svg)](https://github.com/PondFive/AsyncRequestBundle/actions/workflows/ci.yaml)[![codecov](https://camo.githubusercontent.com/9eeaa27cb994d13236cd666ebe1a441eb83ec7a2171ea5736889de0794eeee81/68747470733a2f2f636f6465636f762e696f2f67682f506f6e64466976652f4173796e635265717565737442756e646c652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4841414135595a425438)](https://codecov.io/gh/PondFive/AsyncRequestBundle)[![Latest Stable Version](https://camo.githubusercontent.com/6cab100545ef320ece95cf529cdfc2abdacc473a92f21a30ab07d0550cd0326d/687474703a2f2f706f7365722e707567782e6f72672f706f6e64352f6173796e632d726571756573742d62756e646c652f76)](https://packagist.org/packages/pond5/async-request-bundle)[![Total Downloads](https://camo.githubusercontent.com/2c5a9e5f30a4eaf552a578fbd2ee6acffc5200931c7c5f0884b9a33ff6afe2d0/687474703a2f2f706f7365722e707567782e6f72672f706f6e64352f6173796e632d726571756573742d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/pond5/async-request-bundle)

This bundle allows sending requests to a [Symfony Messenger](https://symfony.com/doc/current/messenger.html) transport to be handled later by a consumer.

Installation
------------

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

### Applications that use Symfony Flex

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
composer require pond5/async-request-bundle
```

### Applications that don't use Symfony Flex

[](#applications-that-dont-use-symfony-flex)

1. Add config file

```
# config/packages/pond5_async_request.yaml
pond5_async_request:
    #header: X-Request-Async # user defined header name to indicate asynchronous request - X-Request-Async used by default
    #methods: [DELETE, PATCH, POST, PUT] # HTTP methods that should support async requests
    transport: async-request # messenger transport name, ignored if messenger routing for Pond5\AsyncRequestBundle\Message\AsyncRequestNotification is configured manually

# can be omitted when using transport configured in another file (e.g. messenger.yaml)
framework:
    messenger:
        transports:
            async-request: '%env(MESSENGER_TRANSPORT_DSN)%'
```

2. Download the Bundle

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
composer require pond5/async-request-bundle
```

3. Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Pond5\AsyncRequestBundle\Pond5AsyncRequestBundle::class => ['all' => true],
];
```

Usage
-----

[](#usage)

1. Add `X-Request-Async` header a `DELETE, PATCH, POST, PUT` request, e.g.

```
curl -i -X POST http://example.org/endpoint -H "X-Request-Async: 1"
```

Symfony should respond with `202` status code and empty body:

```
HTTP/1.1 202 Accepted
Content-Length: 0

```

2. Handle the request/consume the message

```
bin/console messenger:consume
```

Test
----

[](#test)

1. Install dev dependencies.

```
composer install
```

2. Run unit tests.

```
bin/phpunit
```

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.9% 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.

###  Release Activity

Cadence

Every ~103 days

Total

4

Last Release

1405d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/740b59bfa4edd41c7529145acf132a91a2096266d5fda615ca39b7f9b7f2f9dd?d=identicon)[jlekowski](/maintainers/jlekowski)

---

Top Contributors

[![jlekowski](https://avatars.githubusercontent.com/u/1238363?v=4)](https://github.com/jlekowski "jlekowski (31 commits)")[![tuxnker](https://avatars.githubusercontent.com/u/766604?v=4)](https://github.com/tuxnker "tuxnker (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/pond5-async-request-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/pond5-async-request-bundle/health.svg)](https://phpackages.com/packages/pond5-async-request-bundle)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M127](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.1k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

605.0M338](/packages/shopware-core)[setono/sylius-feed-plugin

Plugin to generate feeds within the Sylius ecommerce platform

26452.4k](/packages/setono-sylius-feed-plugin)

PHPackages © 2026

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