Download the PHP package jagarzonpapp/laravel-sqs-sns-subscription-queue without Composer

On this page you can find all versions of the php package jagarzonpapp/laravel-sqs-sns-subscription-queue. 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 laravel-sqs-sns-subscription-queue

AWS SQS SNS Subscription Queue

Downloads Version

A simple extension to the Illuminate/Queue queue system used in Laravel and Lumen.

Using this connector allows SQS messages originating from a SNS subscription to be worked on with Illuminate\Queue\Jobs\SqsJob.

This is especially useful in a miroservice architecture where multiple services subscribe to a common topic with their queues.

Understand that this package will not handle publishing to SNS, please use the AWS SDK to publish an event to SNS.

Requirements

Usage

Add the LaravelSqsSnsSubscriptionQueue ServiceProvider to your application.

Laravel

Registering Service Providers in Laravel

Lumen

Registering Service Providers in Lumen

Configuration

You'll need to configure the queue connection in your config/queue.php

Once the sqs-sns queue connector is configured you can start using it by setting queue driver to 'sqs-sns' in your .env file.

Job class example

Message transformation

When SNS publishes to SQS queues the received message signature is as follows:

Illuminate\Queue\Jobs\SqsJob requires the following signature:

Installation

The best way to install laravel-sqs-sns-subscription is by using Composer.

To install the most recent version:


All versions of laravel-sqs-sns-subscription-queue with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.3
illuminate/queue Version ^5.6|^6.0
illuminate/support Version ^5.6|^6.0
aws/aws-sdk-php Version ^3.62
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 jagarzonpapp/laravel-sqs-sns-subscription-queue contains the following files

Loading the files please wait ....