2017 © Pedro Peláez
 

library better-sqs-php

PHP library with BetterSqs API

image

referly/better-sqs-php

PHP library with BetterSqs API

  • Wednesday, December 21, 2016
  • by caldwecr
  • Repository
  • 5 Watchers
  • 1 Stars
  • 7,718 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

better_sqs_php

Better SQS API for PHP, (*1)

Usage

Get a client

use BetterAwsPhpCore\Configuration;
$configuration = new Configuration;
$client = new Client($configuration);

Enqueue a message

$queueName = 'someSqsQueueName';
$client->push($queueName, 'can you see this amazing message?');

Reserve a message

$queueName = 'someSqsQueueName';
$message = $client->reserve($queueName);
echo "The message is {$message->body()} with receipt {$message->receiptHandle()}";

Delete a reserved message

$message->delete();

Note that reserved messages will regain visibility after a certain amount of time (see visibility timeout settings for SQS). Thus explicitly returning an unprocessed message to the queue is not necessary., (*2)

The Versions

21/12 2016

dev-master

9999999-dev https://github.com/Referly/better_sqs_php

PHP library with BetterSqs API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Courtland Caldwell

sqs

21/12 2016

1.0.0

1.0.0.0 https://github.com/Referly/better_sqs_php

PHP library with BetterSqs API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Courtland Caldwell

sqs

30/09 2016

0.3.0

0.3.0.0 https://github.com/Referly/better_sqs_php

PHP library with BetterSqs API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Courtland Caldwell

sqs

04/05 2016

0.2.0

0.2.0.0 https://github.com/Referly/better_sqs_php

PHP library with BetterSqs API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Courtland Caldwell

sqs

04/05 2016

0.1.0

0.1.0.0 https://github.com/Referly/better_sqs_php

PHP library with BetterSqs API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Courtland Caldwell

sqs