PHPackages                             zeroem/deferred-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. zeroem/deferred-request-bundle

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

zeroem/deferred-request-bundle
==============================

Utilities for deferring request processing to some point in the future

46PHP

Since Jun 26Pushed 13y ago1 watchersCompare

[ Source](https://github.com/zeroem/ZeroemDeferredRequestBundle)[ Packagist](https://packagist.org/packages/zeroem/deferred-request-bundle)[ RSS](/packages/zeroem-deferred-request-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (2)Used By (0)

ZeroemDeferredRequestBundle
===========================

[](#zeroemdeferredrequestbundle)

Provides utilities to mark controller actions as deferred. By simply adding the `@Defer` annotation to any Controller or Action, the request will be intercepted during the `KernelEvents::CONTROLLER` phase of the HttpKernel. At this point in time, the Request object will be serialized and stored in the database for later processing via the `deferred-request:process`console command.

When a Request is deferred, an appropriate HTTP 202 Response is returned containing :

- A Content-Location Header indicating where the deferred Response will be found
- A Link Header indicating where the status of the deferred Request may be monitored

Examples
========

[](#examples)

Defer a single controller action
--------------------------------

[](#defer-a-single-controller-action)

```
// ...

/**
 * @Defer
 */
public function indexAction()
{

}

// ...
```

Defer all actions on a controller
---------------------------------

[](#defer-all-actions-on-a-controller)

```
/**
 * @Defer
 */
class FooController extends Controller
{
   // Actions...
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/eb8edffbae91028ff05d02635ea386346c9a8798128aa38f3ed89115b4226dc3?d=identicon)[zeroem](/maintainers/zeroem)

---

Top Contributors

[![zeroem](https://avatars.githubusercontent.com/u/205044?v=4)](https://github.com/zeroem "zeroem (9 commits)")

### Embed Badge

![Health badge](/badges/zeroem-deferred-request-bundle/health.svg)

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

PHPackages © 2026

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