PHPackages                             x-laravel/embedding-pulse-plugin - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. x-laravel/embedding-pulse-plugin

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

x-laravel/embedding-pulse-plugin
================================

Laravel Pulse cards and recorders for x-laravel/embedding.

v0.1.0(1mo ago)00MITPHPPHP ^8.3CI passing

Since May 9Pushed 1mo agoCompare

[ Source](https://github.com/x-laravel/embedding-pulse-plugin)[ Packagist](https://packagist.org/packages/x-laravel/embedding-pulse-plugin)[ RSS](/packages/x-laravel-embedding-pulse-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

x-laravel/embedding — Pulse Plugin
==================================

[](#x-laravelembedding--pulse-plugin)

[![Tests](https://github.com/x-laravel/embedding-pulse-plugin/actions/workflows/tests.yml/badge.svg)](https://github.com/x-laravel/embedding-pulse-plugin/actions/workflows/tests.yml)[![PHP](https://camo.githubusercontent.com/c8d8dad6beb757a2b8acba331d16140813699543b88a37af0a81f20bd35f61de/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332532422d626c7565)](https://www.php.net)[![Laravel](https://camo.githubusercontent.com/42e62a9adb05b6cb16993782fd4b04b64a76be3ff5704d170001885eb70c8448/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d313225323025374325323031332d726564)](https://laravel.com)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](LICENSE.md)

Laravel Pulse cards and recorders for [x-laravel/embedding](https://github.com/x-laravel/embedding).

What You Get
------------

[](#what-you-get)

CardWhat 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
------------

[](#requirements)

- PHP `^8.3`
- Laravel `^12.0 | ^13.0`
- `laravel/pulse ^1.0`
- `x-laravel/embedding ^1.0`

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

[](#installation)

```
composer require x-laravel/embedding-pulse-plugin
```

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
-----

[](#setup)

### 1. Make sure Pulse itself is installed

[](#1-make-sure-pulse-itself-is-installed)

```
composer require laravel/pulse
php artisan vendor:publish --tag=pulse-config
php artisan migrate
```

See the [Pulse documentation](https://laravel.com/docs/pulse) for full setup.

### 2. (Optional) Publish this package's config

[](#2-optional-publish-this-packages-config)

```
php artisan vendor:publish --tag=embedding-pulse-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

[](#3-add-the-cards-to-your-pulse-dashboard)

Publish the Pulse dashboard if you haven't already:

```
php artisan vendor:publish --tag=pulse-dashboard
```

Then edit `resources/views/vendor/pulse/dashboard.blade.php`:

```

    {{-- Existing cards... --}}

```

All four cards accept the standard Pulse card props: `cols`, `rows`, `class`, `expand`.

Configuration
-------------

[](#configuration)

Env varDefaultPurpose`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 cardHow It Works
------------

[](#how-it-works)

```
┌──────────────────────┐         ┌────────────────────────┐
│ ModelEmbedded event  │────────►│ EmbeddingThroughput    │──► Pulse::record('embedding_throughput', $slot)
└──────────────────────┘         └────────────────────────┘

┌──────────────────────┐         ┌────────────────────────┐
│ JobProcessing /      │────────►│ EmbeddingLatency       │──► Pulse::record('embedding_latency', $slot, $ms)
│ JobProcessed         │         └────────────────────────┘
└──────────────────────┘

┌──────────────────────┐         ┌────────────────────────┐
│ JobFailed            │────────►│ EmbeddingFailures      │──► Pulse::record('embedding_failure', $key, …)
└──────────────────────┘         └────────────────────────┘

```

The recorders only act on `XLaravel\Embedding\Jobs\GenerateModelEmbedding` — other jobs in your app are ignored.

Testing
-------

[](#testing)

```
# Build first (once per PHP version)
DOCKER_BUILDKIT=0 docker compose --profile php83 build

# Run tests
docker compose --profile php83 up
docker compose --profile php84 up
docker compose --profile php85 up
```

CI runs PHP 8.3–8.5 via `.github/workflows/tests.yml`.

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/license/MIT).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance94

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2bdb64c6c087c331b8bd5906bb1aa7eb06bc83af3654a48ba8ab9da365976651?d=identicon)[X-Adam](/maintainers/X-Adam)

---

Top Contributors

[![x-adam](https://avatars.githubusercontent.com/u/60411758?v=4)](https://github.com/x-adam "x-adam (2 commits)")

---

Tags

laravelmonitoringaivectorembeddingpulse

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/x-laravel-embedding-pulse-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/x-laravel-embedding-pulse-plugin/health.svg)](https://phpackages.com/packages/x-laravel-embedding-pulse-plugin)
```

###  Alternatives

[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2362.1M4](/packages/inspector-apm-inspector-laravel)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
