Download the PHP package x-laravel/embedding-pulse-plugin without Composer
On this page you can find all versions of the php package x-laravel/embedding-pulse-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package embedding-pulse-plugin
x-laravel/embedding — Pulse Plugin
Laravel Pulse cards and recorders for x-laravel/embedding.
What You Get
| Card | What it shows |
|---|---|
| Embedding Throughput | Embeddings generated per minute, broken down by slot. |
| Embedding Latency | p50 / p95 / p99 of generation duration, with a slow-call counter. |
| Embedding Failures | Recent failed GenerateModelEmbedding jobs — model, slot, exception class. |
| Embeddings By Slot | Total embeddings per slot across all models. |
Each card is a standalone Livewire component — drop them into your Pulse dashboard wherever you like.
Requirements
- PHP
^8.3 - Laravel
^12.0 | ^13.0 laravel/pulse ^1.0x-laravel/embedding ^1.0
Installation
The PulseEmbeddingServiceProvider is auto-discovered and registers the recorders + Livewire cards automatically. No further wiring is needed for the recorders to start collecting data.
Setup
1. Make sure Pulse itself is installed
See the Pulse documentation for full setup.
2. (Optional) Publish this package's config
This drops config/embedding-pulse-plugin.php where you can disable individual recorders or tune the slow-call threshold.
3. Add the cards to your Pulse dashboard
Publish the Pulse dashboard if you haven't already:
Then edit resources/views/vendor/pulse/dashboard.blade.php:
All four cards accept the standard Pulse card props: cols, rows, class, expand.
Configuration
| Env var | Default | Purpose |
|---|---|---|
PULSE_EMBEDDING_THROUGHPUT_ENABLED |
true |
Toggle throughput recorder |
PULSE_EMBEDDING_LATENCY_ENABLED |
true |
Toggle latency recorder |
PULSE_EMBEDDING_FAILURES_ENABLED |
true |
Toggle failures recorder |
PULSE_EMBEDDING_SLOW_THRESHOLD |
1000 |
Generations slower than this (ms) are flagged on the latency card |
How It Works
The recorders only act on XLaravel\Embedding\Jobs\GenerateModelEmbedding — other jobs in your app are ignored.
Testing
CI runs PHP 8.3–8.5 via .github/workflows/tests.yml.
License
This package is open-sourced software licensed under the MIT license.
All versions of embedding-pulse-plugin with dependencies
illuminate/support Version ^12.0|^13.0
laravel/pulse Version ^1.0
x-laravel/embedding Version ^1.0