PHPackages                             ruth/async-service-call-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. [Queues &amp; Workers](/categories/queues)
4. /
5. ruth/async-service-call-bundle

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

ruth/async-service-call-bundle
==============================

Symfony bundle for asynchronous service methods calls

1.1.4(6y ago)0331MITPHPPHP &gt;=7.3

Since Nov 29Pushed 6y agoCompare

[ Source](https://github.com/filipefernandes007/async-service-call-bundle)[ Packagist](https://packagist.org/packages/ruth/async-service-call-bundle)[ RSS](/packages/ruth-async-service-call-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (5)Versions (10)Used By (0)

AsyncServiceCallBundle
======================

[](#asyncservicecallbundle)

[![Latest Stable Version](https://camo.githubusercontent.com/89d31b5dbff7a891811c25f55e567dbc98b11b275742c0f4de67b03198bc3567/68747470733a2f2f706f7365722e707567782e6f72672f727574682f6173796e632d736572766963652d63616c6c2d62756e646c652f762f737461626c65)](https://packagist.org/packages/ruth/async-service-call-bundle)[![Total Downloads](https://camo.githubusercontent.com/aab2aeea81bf47241a276fee68bde525b4007c1bc1583f2f0e4995ee015a39e7/68747470733a2f2f706f7365722e707567782e6f72672f727574682f6173796e632d736572766963652d63616c6c2d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/ruth/async-service-call-bundle)[![Latest Unstable Version](https://camo.githubusercontent.com/439035629bb65b62ae9ff4cd77252d7564daeb683daee76fb490f39525c706dc/68747470733a2f2f706f7365722e707567782e6f72672f727574682f6173796e632d736572766963652d63616c6c2d62756e646c652f762f756e737461626c65)](https://packagist.org/packages/ruth/async-service-call-bundle)[![License](https://camo.githubusercontent.com/ede7f80c243b4d5dc88b0ec2e5a92205909f4772fbd39df521554f831d24168f/68747470733a2f2f706f7365722e707567782e6f72672f727574682f6173796e632d736572766963652d63616c6c2d62756e646c652f6c6963656e7365)](https://packagist.org/packages/ruth/async-service-call-bundle)

This bundle allows you to execute methods of your services asynchronously in a background process.

It is a fork on [krlove/async-service-call-bundle](https://github.com/krlove/async-service-call-bundle), updated to run in Symfony 4 or 5.

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

[](#installation)

Install using composer:

```
composer require ruth/async-service-call-bundle

```

It should enable the bundle at `config/bundles.php`

```
return [
   ...
   new Krlove\AsyncServiceCallBundle\KrloveAsyncServiceCallBundle(),
]

```

If not, you now know what to do.

Configuration
-------------

[](#configuration)

Options:

- `console_path` - path to `console` script. Can be absolute or relative to `kernel.project_dir` parameter's value. Defaults to `bin/console` Symfony 4.\* and Symfony 5.\*.
- `php_path` - path to php executable. If no option provided in configuration, `Symfony\Component\Process\PhpExecutableFinder::find` will be used to set it up.

Example:

```
# config/packages/krlove_async_service_call.yaml
krlove_async_service_call:
    console_path: bin/console
    php_path: /usr/local/bin/php

```

Usage
-----

[](#usage)

Define any service:

```
