Download the PHP package aligent/async-bundle without Composer

On this page you can find all versions of the php package aligent/async-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package async-bundle

Aligent Async Events Bundle

This bundle provides:

  1. An Abstract Processor class that will catch RetryableExceptions and after 3 (default) retries place the failed jobs into the database so they can be reviewed, fixed and then requeued.

  2. Webhook integration

Installation Instructions

  1. Install this module via Composer

    composer require aligent/async-bundle
  2. Clear cache

    php bin/console cache:clear
  3. Run Migrations

    php bin/console oro:migration:load --force

Usage

Make sure your class extends the AbstractRetryableProcessor and perform your normal job processing in the execute function.

By default the AbstractRetryableProcessor will fetch the passed exception from the RetryableException and store the trace. However if you aren't catching an exception you can just use the RetryableException and it will store the trace and message generated at this point.

You can also increase or decrease the amount of retries by overriding const MAX_RETRIES = 3; in your own class.

Set up Transport for Webhooks

Go to the "System -> Integrations -> Manage integrations" and click "Create Integration". Select "Webhook" as the integration type and fill all required fields.

To Enable set status as Active.

Once complete you must now receive webhook events to requested URL.

Dispatch webhook events

  1. EntityEventListener listens to any create/update/delete events; check if relevant webhook transport exists and active; if yes, pushes message to the queue

  2. WebhookEntityProcessor builds a payload and send a webhook event in response to the queued message.

  3. If you need to enrich payload data (ex., add addreses for the customer user), you can use OroImportExportBundle and add some custom normalizers to add/transform payload data.

Support

If you have any issues with this bundle, please create a GitHub issue.

Contribution

Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.

Developer

Adam Hall [email protected]

Licence

MIT


All versions of async-bundle with dependencies

PHP Build Version
Package Version
Requires oro/commerce Version 5.0.*
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package aligent/async-bundle contains the following files

Loading the files please wait ....