PHPackages                             aescarcha/async - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. aescarcha/async

ActiveSymfony-bundle[Parsing &amp; Serialization](/categories/parsing)

aescarcha/async
===============

A bundle to handle serialization and deseralization of Entities on Symfony, it's a layer over Symfony's Serializer Component

010PHP

Since Aug 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/aescarcha/AsyncBundle)[ Packagist](https://packagist.org/packages/aescarcha/async)[ RSS](/packages/aescarcha-async/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Aescarcha AsyncBundle
=====================

[](#aescarcha-asyncbundle)

Introduction
------------

[](#introduction)

This bundle handles events on Symfony entities, like persist, delete... It pushes a job to RMQ so heavy stuff can be handled in an asynchronous way.

Install
-------

[](#install)

```
composer require aescarcha/async

```

#### Config

[](#config)

##### Configure RMQ in your config.yml, IE:

[](#configure-rmq-in-your-configyml-ie)

```
old_sound_rabbit_mq:
    connections:
        default:
            host:     'localhost'
            port:     5672
            user:     'guest'
            password: 'guest'
            vhost:    '/'
            lazy:     false
            connection_timeout: 3
            read_write_timeout: 3

            # requires php-amqplib v2.4.1+ and PHP5.4+
            keepalive: false

            # requires php-amqplib v2.4.1+
            heartbeat: 0
    producers: #the process sending messages to the broker is called producer
        async_refresher:
            connection:       default
            exchange_options: {name: 'async-refresher', type: direct}

    consumers: #the process receiving those messages is called consumer
        async_refresher:
            connection:       default
            exchange_options: {name: 'async-refresher', type: direct}
            queue_options:    {name: 'async-refresher'}
            callback:         aescarcha.persist_listener

```

#### services.yml

[](#servicesyml)

```
#Listener to trigger async regeneration, this service is also a rabbit consumer
aescarcha.persist_listener:
    class: Aescarcha\ChallengeBundle\Listener\PersistListener
    arguments: [ @service_container ]
    tags:
        - { name: doctrine.event_listener, event: postPersist }
        - { name: doctrine.event_listener, event: postUpdate }
        - { name: doctrine.event_listener, event: postRemove }
        - { name: doctrine.event_listener, event: postSoftDelete }

```

##### AppKernel.php

[](#appkernelphp)

```
$bundles = array(
    new Aescarcha\SerializerBundle\AescarchaSerializerBundle(),
);

```

Tests
-----

[](#tests)

Tests are provided on the repo, but they're not working because the test requires some Entities and Repositories to work, making them work in a clean symfony install is also a TODO

SERIUS TODO:
------------

[](#serius-todo)

Dynamic classes called on listeners, move those classes outside the repo

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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/44e7a12833605bd3cf56fe9fd74b7c77044e78d1a782f49146e9e0b2d58ffc86?d=identicon)[aEscarcha](/maintainers/aEscarcha)

---

Top Contributors

[![aescarcha](https://avatars.githubusercontent.com/u/8446899?v=4)](https://github.com/aescarcha "aescarcha (3 commits)")

### Embed Badge

![Health badge](/badges/aescarcha-async/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M44](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[moonshine/layouts-field

Field for repeating groups of fields for MoonShine

107.9k](/packages/moonshine-layouts-field)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

112.9k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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