PHPackages                             ashrafic/laravel-ai-orbit - 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. ashrafic/laravel-ai-orbit

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

ashrafic/laravel-ai-orbit
=========================

The Intelligent Control Tower for Laravel AI SDK.

v1.1.1(1w ago)29211MITPHPPHP ^8.3CI passing

Since May 20Pushed 1w agoCompare

[ Source](https://github.com/ashrafic/laravel-ai-orbit)[ Packagist](https://packagist.org/packages/ashrafic/laravel-ai-orbit)[ RSS](/packages/ashrafic-laravel-ai-orbit/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (9)Dependencies (14)Versions (12)Used By (0)

 [![Laravel AI Orbit](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/logo.svg)](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/logo.svg)

 Laravel AI Orbit
=================

[](#--laravel--ai-orbit)

 **The Intelligent Control Tower for the Laravel AI SDK**

 [![Latest Version](https://camo.githubusercontent.com/f332f72ab05cb2b0f8155f5ea7bc8f57053c62bd93b7730e322e62f2cd865bb4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61736872616669632f6c61726176656c2d61692d6f726269742e7376673f7374796c653d666c61742d737175617265266c6f676f3d7061636b616769737426636f6c6f723d363336366631)](https://packagist.org/packages/ashrafic/laravel-ai-orbit) [![Tests](https://camo.githubusercontent.com/98a2ed575f5995dc528012cdc636e1653e11d7ab5722d09d9bfd485c98a58953/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f61736872616669632f6c61726176656c2d61692d6f726269742f63692e796d6c3f7374796c653d666c61742d737175617265266c6f676f3d676974687562616374696f6e73266c6162656c3d5465737473)](https://github.com/ashrafic/laravel-ai-orbit/actions/workflows/ci.yml) [![Docs](https://camo.githubusercontent.com/07b47a556bb14c42218b4bdff0c48deb44a21deb974a2bcffa6193bbfbdebc53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f446f63732d4f6e6c696e652d3130623938312e7376673f7374796c653d666c61742d737175617265266c6f676f3d72656164746865646f6373)](https://ashrafic.github.io/laravel-ai-orbit/) [![PHP Version](https://camo.githubusercontent.com/a63a3b80f047153965c7eaf51d3b0da9a96ae453ce507ef6a3516287139da7cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f61736872616669632f6c61726176656c2d61692d6f726269742e7376673f7374796c653d666c61742d737175617265266c6f676f3d70687026636f6c6f723d386235636636)](https://packagist.org/packages/ashrafic/laravel-ai-orbit) [![Laravel Version](https://camo.githubusercontent.com/94add8cadd693a964894792864453941c9e1f99d9ee6360cca45dc59b8711b1f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322532422d4646324432302e7376673f7374796c653d666c61742d737175617265266c6f676f3d6c61726176656c)](https://github.com/laravel/framework) [![License](https://camo.githubusercontent.com/ac3d6e33fa7ef0e877b6b7b3ab12f6f0006f712e6b9b5bde22bace616ae565c5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265266c6f676f3d6f70656e736f75726365696e6974696174697665)](LICENSE)

---

**Laravel AI Orbit** is a standalone observability dashboard and developer playground for the official [Laravel AI SDK](https://github.com/laravel/ai) (`laravel/ai` v0.6.x). Think of it as **Telescope for your AI agents** — a polished, real-time window into everything your agents are doing, with powerful tools to test, compare, and optimize them.

Built for Laravel 12+ and PHP 8.3+, Orbit installs in seconds, requires **zero frontend build steps**, and ships with a gorgeous glassmorphism UI in both dark and light modes.

---

Features
--------

[](#features)

CategoryFeatureDescription**Observability**DashboardAt-a-glance stats for conversations, runs, messages, tokens, and agent breakdowns with configurable time periodsConversationsSearchable thread list with advanced filters, bookmarks, and chat-style message timeline with raw JSON inspectorRunsObservability for one-off SDK prompts and non-conversation AI operations with search, filters, and detail viewsTracesVisual execution timeline with per-step latency and expandable tool call details**Playground**Agent SandboxInteractive chat with any discovered agent. Intelligent dependency resolution auto-detects Eloquent models, container bindings, and scalarsLive OverridesOverride system prompt, model, provider, temperature, and max tokens on the flyMulti-turn ChatPersistent conversation sessions with the `RemembersConversations` trait**Prompt Lab**Side-by-SideCompare up to 3 provider+model combinations on the same promptAuto-TaggingAutomatically labels fastest, cheapest, most concise, and best-value responsesSession HistoryBrowse and revisit all past comparison sessions**Usage &amp; Cost**Pricing MatrixEditable per-model pricing rules with token cost configurationAnalyticsHistorical cost breakdowns by agent, model, and provider with interactive chartsBudget AlertsConfigurable thresholds with per-alert recipient lists, provider-specific pricing, and queued email notificationsProvider HealthMonitor success rates, latency (with P50/P95/P99 percentiles), and error counts per AI provider from merged conversation + run data**Security**PII DetectionBuilt-in scanner detects emails, phones, SSNs, credit cards, and API keys in message payloadsData RetentionConfigurable retention policies with dry-run previews and auto-cleanup of stale conversationsAccess AuditFull activity log of dashboard access attempts**Dev Tools**Pest ExportExport conversations to Pest PHP test cases with one clickJSONL ExportExport in OpenAI fine-tuning format for model trainingCSV ExportExport conversation data for spreadsheet analysisPrompt LibrarySave, tag, and reuse prompts with full-text searchGlobal SearchSearch across all conversations, prompts, and bookmarksAgent HealthScore agents by response quality, tool usage, and error rates---

Screenshots
-----------

[](#screenshots)

 [![Dashboard Overview](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/dashboard.png)](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/dashboard.png)

*Dashboard — Real-time stats, token breakdowns, and agent analytics*

 [![Agent Playground](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/playground.png)](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/playground.png)

*Playground — Discover and test all your agents in one place*

 [![Agent Sandbox](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/sandbox.png)](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/sandbox.png)

*Sandbox — Interactive chat with live parameter overrides and tool inspection*

 [![Prompt Lab](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/prompt-lab.png)](https://raw.githubusercontent.com/ashrafic/laravel-ai-orbit/main/art/screenshots/prompt-lab.png)

*Prompt Lab — Compare models side-by-side on the same prompt*

---

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

[](#installation)

Requires PHP 8.3+, Laravel 12+, and the [Laravel AI SDK](https://github.com/laravel/ai) installed with migrations run.

```
composer require ashrafic/laravel-ai-orbit
```

After installing Orbit, publish its assets, configuration, and migrations using the `ai-orbit:install` Artisan command. After installing Orbit, you should also run the `migrate` command to create the tables needed to store Orbit's data:

```
php artisan ai-orbit:install
php artisan migrate
```

Visit `/ai-orbit` in your browser.

> Orbit reads directly from the SDK's `agent_conversations` and `agent_conversation_messages` tables, and also captures one-off SDK runs to its own `orbit_ai_runs` table. If SDK tables don't exist yet, you'll see a friendly setup banner.

---

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

[](#configuration)

The `ai-orbit:install` command publishes the configuration file for you. To publish only the configuration file:

```
php artisan vendor:publish --tag=ai-orbit-config
```

KeyDefaultDescription`path``ai-orbit`Dashboard URI prefix`auth_guard``web`Authentication guard`middleware``['web']`Route middleware stack`domain``null`Custom subdomain`back_to_app_url``/`"Back to App" link target`agent_directories``['app/AI/Agents', 'app/Ai/Agents']`Scanned agent discovery paths`registry_cache_ttl``3600`Agent metadata cache duration (seconds)`prompt-lab.max_slots``3`Max models per Prompt Lab comparison`prompt-lab.timeout_seconds``120`Request timeout per comparison slot`budget.enabled``true`Budget alert system toggle`budget.notification_channels``['mail']`Alert notification channels`observability.enabled``true`Listen to Laravel AI SDK events for run capture and budget monitoring`observability.store_runs``true`Persist one-off SDK runs to `orbit_ai_runs``observability.capture_text_payloads``true`Capture prompt/response text in run records`observability.max_payload_length``10000`Max characters for stored text payloads`observability.excluded_operations``[]`Operation names to exclude from observability`audit.enabled``true`Audit &amp; PII scanning toggle`audit.retention_days``90`Default data retention period---

Authorization
-------------

[](#authorization)

By default, Orbit is accessible only in the `local` environment.

### Gate (Recommended)

[](#gate-recommended)

```
use Illuminate\Support\Facades\Gate;

Gate::define('viewAiOrbit', function ($user) {
    return $user->isAdmin();
});
```

### Middleware &amp; Guard

[](#middleware--guard)

```
// config/ai-orbit.php
'middleware' => ['web', 'auth'],
'auth_guard' => 'web',
```

---

Customization
-------------

[](#customization)

```
# Override any Blade view
php artisan vendor:publish --tag=ai-orbit-views

# Override config
php artisan vendor:publish --tag=ai-orbit-config

# Publish compiled assets
php artisan vendor:publish --tag=ai-orbit-assets
```

Published views land in `resources/views/vendor/ai-orbit/`.

---

Documentation
-------------

[](#documentation)

Full documentation is available at **[ashrafic.github.io/laravel-ai-orbit](https://ashrafic.github.io/laravel-ai-orbit/)**.

---

Testing
-------

[](#testing)

```
composer test          # Pest test suite
./vendor/bin/pint      # Code style (PSR-12)
./vendor/bin/phpstan analyse  # Static analysis (level 8)
```

---

License
-------

[](#license)

MIT License. See [LICENSE](LICENSE) for details.

---

 Built with care by [Ashrafic Labs](https://ashraficlabs.com)

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance98

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.9% 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

Every ~1 days

Total

9

Last Release

9d ago

Major Versions

v0.0.3 → v1.0.02026-05-24

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab06572ecc2701fb9172f587144a4eb20b8e027f75bcc27030e212164c53103c?d=identicon)[ashraful19](/maintainers/ashraful19)

---

Top Contributors

[![ashraful19](https://avatars.githubusercontent.com/u/25670420?v=4)](https://github.com/ashraful19 "ashraful19 (89 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

aiai-agentsanalyticsdashboarddebuggingdeveloper-toolslaravellaravel-ailaravel-packagemonitoringobservabilityphplaravelmonitoringaiexportdebuggingAgentAuditanalyticsobservabilityplaygroundpricingpromptsorbitarena

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ashrafic-laravel-ai-orbit/health.svg)

```
[![Health](https://phpackages.com/badges/ashrafic-laravel-ai-orbit/health.svg)](https://phpackages.com/packages/ashrafic-laravel-ai-orbit)
```

###  Alternatives

[muhammadsadeeq/laravel-activitylog-ui

A beautiful, modern UI for Spatie's Activity Log with advanced filtering, analytics, and real-time features.

17614.3k](/packages/muhammadsadeeq-laravel-activitylog-ui)

PHPackages © 2026

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