PHPackages                             kornrunner/honker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. kornrunner/honker

ActiveLibrary[Queues &amp; Workers](/categories/queues)

kornrunner/honker
=================

Pure PHP binding for Honker. SQLite-native queues, streams, pub/sub and scheduling.

00PHPCI passing

Since May 28Pushed 1mo agoCompare

[ Source](https://github.com/kornrunner/php-honker)[ Packagist](https://packagist.org/packages/kornrunner/honker)[ RSS](/packages/kornrunner-honker/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-honker [![Tests](https://github.com/kornrunner/php-honker/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/kornrunner/php-honker/actions/workflows/ci.yml) [![Static Analysis](https://github.com/kornrunner/php-honker/actions/workflows/static-analysis.yml/badge.svg?branch=main)](https://github.com/kornrunner/php-honker/actions/workflows/static-analysis.yml) [![Latest Stable Version](https://camo.githubusercontent.com/8e68fc237d3b32cf7daaa64b0e03cca855507bc8f7680b08ec0ee571ea5b716e/68747470733a2f2f706f7365722e707567782e6f72672f6b6f726e72756e6e65722f686f6e6b65722f762f737461626c65)](https://packagist.org/packages/kornrunner/honker)
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-honker---)

A pure PHP binding for [Honker](https://honker.dev/), which brings durable queues, streams, pub/sub and a cron scheduler to a SQLite file. The API mirrors the [Ruby binding](https://github.com/russellromney/honker/tree/main/packages/honker-ruby) and is pinned to the `ext-v0.2.3` Honker tag.

Honker is a SQLite loadable extension by [Russell Romney](https://github.com/russellromney), written in Rust, that brings Postgres-style `NOTIFY`/`LISTEN` semantics plus durable work queues, append-only streams and a cron scheduler to SQLite. No Redis, no broker, no extra process. This package is a thin wrapper around its SQL functions over a `Pdo\Sqlite` connection.

Installation
------------

[](#installation)

```
$ composer require kornrunner/honker
```

You also need the Honker SQLite extension itself. Build it from source (requires a Rust toolchain) and point the binding at it via `HONKER_EXTENSION_PATH` or the constructor:

```
$ git clone --depth 1 --branch ext-v0.2.3 https://github.com/russellromney/honker.git
$ cargo build --release -p honker-extension --manifest-path honker/Cargo.toml
```

Usage
-----

[](#usage)

### Enqueue and claim

[](#enqueue-and-claim)

```
