Skip to content

javibravo/simpleue-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simpleue Example - Colored console messages

Example of use for Simpleue.

Commands which receive a JSON $task from a queue. The task contains a message and a color, to be printed in the Terminal. A JSON example:

{
    "text" : "message text",
    "color" : "yellow"
}

It contains one command for each queue system:

  • Redis : console-message:redis
  • AWS SQS : console-message:sqs

Install

Install dependencies,

composer install

Usage

Show command help

>$ ./console console-message:redis --help

>$ ./console console-message:sqs --help

About

Example of usage for SimplePhpQueue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages