# bernardphp/bernard

Bernard is a multi-backend PHP library for creating background jobs for later processing.

Repository: https://github.com/bernardphp/bernard
Canonical: https://ross.abutalabs.com/products/bernard
Homepage: http://bernard.rtfd.org
Language: PHP
License: MIT
License Family: permissive
Last push: 2023-07-31T10:25:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4947, "days_push": 1129, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1214, forks 127 (observed 2026-08-28T04:04:00.947808+00:00)

## What it is
Bernard is a multi-backend PHP library for creating background jobs that are processed later via queues and long-running worker processes. It supports many queue backends including Redis, Amazon SQS, Doctrine DBAL, RabbitMQ, and Beanstalkd (Pheanstalk).

## Use cases
- run background jobs in php
- queue tasks for later processing
- offload slow work from web requests
- process jobs with redis or sqs backend
- build a worker process for php queues
- send emails asynchronously in php

## When to choose
- you need a PHP queue abstraction over multiple backends like Redis, SQS, or RabbitMQ
- you want simple background job processing without a heavy framework dependency
- your project already uses Doctrine or Predis and wants queueing on top

## When to avoid
- you need a full-featured job scheduler with retries, dashboards, and cron out of the box
- you are not on PHP
- you need actively developed software with frequent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: message-queue, workflow-automation
- domain: backend, web-development
- platform: php, cli
- tags: background-jobs, queueing, task-processing, long-running-processes, messaging

## Member repositories
- bernardphp/bernard (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:00.947808+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:17:21.273956+00:00, confidence not recorded.
  - readme: https://github.com/bernardphp/bernard (fetched 2026-08-28T04:04:00.947808+00:00, sha 5df6cb30f93c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
