This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v1.1.1) of this package.

Asynchronous task execution library

v1.1.1 2014-02-06 23:41 UTC

This package is not auto-updated.

Last update: 2020-01-24 14:52:32 UTC


Allows for long-running or asynchronous tasks to be written as Tasks and queued on a variety on queuing mechanism.

Currently supports Beanstalk and Amazon SQS.

Build Status


To add sera to a project, the easiest way is via composer:

    "require": {
        "99designs/sera": ">=1.0.0"



// a simple task
class MyTask extends Sera_Task_Abstract
	public static function create($params)
		return new self($params);

	public function execute()

// a queue that connects to beanstalkd
$queue = new Sera_Queue_BeanstalkQueue("");

// enqueue the task
$queue->enqueue(MyTask::create('some data'));

// normally this would be in a seperate process
$worker = new Sera_Queue_QueueWorker($queue);


Copyright (c) 2012 99designs See LICENSE for details.