Axora delivers real-time notifications to Laravel applications using Server-Sent Events (SSE).

Maintainers

Package info

github.com/artisan-toolbox/axora

pkg:composer/artisan-toolbox/axora

Transparency log

Fund package maintenance!

artisan-toolbox

Statistics

Installs: 15

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2026-09-01 20:41 UTC

This package is auto-updated.

Last update: 2026-09-01 20:42:10 UTC


README

Axora

Packagist GitHub Workflow Status (main)

Axora delivers transient, named JSON events to Laravel browser sessions over Server-Sent Events. Its standalone asynchronous daemon holds browser connections without occupying PHP-FPM workers and briefly buffers events that arrive just before a session connects.

Requirements

  • PHP 8.5 or later
  • Laravel 13
  • Redis
  • A same-origin reverse proxy and process supervisor in production

Installation

composer require artisan-toolbox/axora

Register the Composer-installed TypeScript client in the application's package.json, then run npm install:

{
    "dependencies": {
        "@artisan-toolbox/axora": "file:vendor/artisan-toolbox/axora"
    }
}

Start the standalone server:

php artisan axora:start

Minimal usage

Send an event to the current Laravel session:

axora()->send('toast', [
    'type' => 'success',
    'message' => 'Saved.',
]);

Initialize one browser connection and subscribe to the event:

import { axora, initializeAxora } from "@artisan-toolbox/axora";

axora.on("toast", ({ type, message }) => {
    showToast(type, message);
});

initializeAxora();

The complete setup, TypeScript event map, Vue composable, queued user delivery, configuration, deployment, and troubleshooting guides are available in the Axora documentation.

Stability

Axora is pre-release software. Backward compatibility is not guaranteed until 1.0.

Resources