PHPackages                             krlove/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. krlove/async-service-call-bundle

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

krlove/async-service-call-bundle
================================

Symfony bundle for asynchronous service methods calls

1.0.5(8y ago)1153.7k↑20%5[2 issues](https://github.com/krlove/async-service-call-bundle/issues)MITPHPPHP ^5.5 || ^7.0

Since Nov 29Pushed 8y ago2 watchersCompare

[ Source](https://github.com/krlove/async-service-call-bundle)[ Packagist](https://packagist.org/packages/krlove/async-service-call-bundle)[ RSS](/packages/krlove-async-service-call-bundle/feed)WikiDiscussions master Synced 3w ago

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

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

[](#asyncservicecallbundle)

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

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

[](#installation)

Download using composer

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

```

Enable the bundle at `AppKernel`

```
$bundles = [
   ...
   new Krlove\AsyncServiceCallBundle\KrloveAsyncServiceCallBundle(),
]

```

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

[](#configuration)

Options:

- `console_path` - path to `console` script. Can be absolute or relative to `kernel.root_dir` parameter's value. Defaults to `app/console` for Symfony 2.\* and `bin/console` for Symfony 3.\*.
- `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.yml
krlove_async_service_call:
    console_path: bin/console
    php_path: /usr/local/bin/php

```

Usage
-----

[](#usage)

Define any service

```
