Skip to content

[READ-ONLY] Amazon SQS driver for Bernard

License

Notifications You must be signed in to change notification settings

bernardphp/sqs-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon SQS driver

Latest Version

Amazon SQS driver for Bernard.

Install

Via Composer

$ composer require bernard/sqs-driver

Usage

<?php

use Aws\Sqs\SqsClient;
use Bernard\Driver\Sqs\Driver;

$client = new SqsClient([
    'credentials' => [
        'key'     => 'your_access_key',
        'secret'  => 'your_secret_key',
    ],
    'region'  => 'us-east-1',
    'version' => '2012-11-05'
]);

$driver = new Driver($client);

// or with prefetching
$driver = new Driver($client, [], 5);

// or with aliased queue urls
$driver = new Driver($client, [
    'queue-name' => 'queue-url',
]);

License

The MIT License (MIT). Please see License File for more information.

About

[READ-ONLY] Amazon SQS driver for Bernard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages