GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - semji/queue-client: PHP library providing queue abstraction layer (AWS SQS, File, Memory, ...)

This repository was archived by the owner on Oct 23, 2026. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

97 Commits
97 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
docker/test
docker/test
 
 
src
src
 
 
tests/units
tests/units
 
 
.atoum.php
.atoum.php
 
 
.bootstrap.atoum.php
.bootstrap.atoum.php
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
coverage.php
coverage.php
 
 
docker-compose.yml.dist
docker-compose.yml.dist
 
 
travis-coverage.php
travis-coverage.php
 
 

Repository files navigation

Queue Client

Join the chat at https://gitter.im/ReputationVIP/queue-client Build Status Coverage Status

Queue Client is a PHP library that provides a queue abstraction layer (SQS, File, Memory ...).

Use case

Queue Client can be used to manage a lot of various queue systems. For example, you could have AWS SQS in production environment, but in-memory queues on the development environment.

Installation

Development version:

php composer.phar require reputation-vip/queue-client:*@dev

Stable version:

php composer.phar require reputation-vip/queue-client:0.1.*

Basic Usage

Setup your queue client

For example, let's set up the Queue Client with a file adapter. To setup other adapters, take a look at the Adapter section.

<?php

use ReputationVIP\QueueClient\QueueClient;
use ReputationVIP\QueueClient\Adapter\FileAdapter;

$adapter = new FileAdapter('/tmp');
$queueClient = new QueueClient($adapter);

Use the queue client

<?php

// ... setup your queue client

$queueClient->createQueue('testQueue');
$queueClient->addMessage('testQueue', 'testMessage');

$messages = $queueClient->getMessages('testQueue');
$message = $messages[0];
$queueClient->deleteMessage($message);
echo $message['Body'];

Unit test

Unit tests are provided by Atoum Atoum.

To launch unit tests, run the following command:

php vendor/atoum/atoum/bin/atoum -c coverage.php -d tests/units/

OR

make test (docker and docker-compose are required)

php xdebug extension must be installed for code coverage report to be generated

Documentation

  • Usage Instructions
  • Adapter, Priority and Aliases
  • Extending Queue Client

About

Requirements

  • PHP 7.1.3 or above.

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub

Framework Integrations

  • Symfony with its own Queue Client Bundle.

Author

Nicolas Couet - [email protected] - https://twitter.com/tejerka - https://github.com/tejerka
See also the list of contributors who participated to this project.

About

PHP library providing queue abstraction layer (AWS SQS, File, Memory, ...)

reputationvip.io

Resources

Readme
Activity
Custom properties

Stars

9 stars

Watchers

2 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.