PHPackages                             junaid63/prism-path - 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. [Admin Panels](/categories/admin)
4. /
5. junaid63/prism-path

ActiveLibrary[Admin Panels](/categories/admin)

junaid63/prism-path
===================

PrismPath is a premium Laravel analytics, heatmap, session replay, and AI-assisted insight package.

v1.0.1(1mo ago)00MITPHPPHP ^7.2|^8.0

Since Apr 25Pushed 1mo agoCompare

[ Source](https://github.com/junaid63/Prism-Path)[ Packagist](https://packagist.org/packages/junaid63/prism-path)[ Docs](https://github.com/junaid63/Prism-Path)[ RSS](/packages/junaid63-prism-path/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

PrismPath Analytics
===================

[](#prismpath-analytics)

`junaid63/prism-path` is an installable Laravel analytics package for live visitors, session replay, heatmaps, page analytics, click and scroll tracking, custom events, funnels, exports, scheduled reports, and AI-assisted engagement insights.

It is designed to feel familiar to teams who use Google Analytics, Microsoft Clarity, or Salesforce dashboards, while staying understandable to Laravel developers.

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

[](#installation)

Install the package via Composer:

```
composer require junaid63/prism-path
```

Publish package files and run migrations:

```
php artisan vendor:publish --tag=prismpath-config
php artisan vendor:publish --tag=prismpath-migrations
php artisan migrate
php artisan prismpath:seed
```

Add the tracker to your main Blade layout before ``:

```
@prismpath
```

Open the analytics dashboard:

```
/analytics
/analytics/dashboard

```

Default demo credentials:

```
Email: admin@prismpath.test
Password: password

```

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

[](#configuration)

Configure your analytics settings in `config/prismpath.php`. Key options include:

- `ANALYTICS_ENABLED` - Enable/disable tracking
- `ANALYTICS_SITE_ID` - Your site identifier
- `ANALYTICS_ROUTE_PREFIX` - Dashboard URL prefix
- `ANALYTICS_SESSIONS` - Enable session replay
- `ANALYTICS_HEATMAPS` - Enable heatmaps
- `ANALYTICS_CLICKS` - Enable click tracking
- `ANALYTICS_AI_INSIGHTS` - Enable AI-powered insights

Demo Application
----------------

[](#demo-application)

See the `/demo` folder for a complete Laravel 10 demo application using this package.

Features
--------

[](#features)

- 🎥 Session Replay - Record and playback user sessions
- 🔥 Heatmaps - Visualize user interactions
- 📊 Analytics - Track page views and custom events
- 🤖 AI Insights - Get AI-powered engagement recommendations
- 📈 Exports - Export analytics data
- 📧 Reports - Scheduled email reports
- 🔐 Secure Dashboard - Basic auth protected dashboard

License
-------

[](#license)

MIT License. See LICENSE.md file for details.

Support
-------

[](#support)

For issues and questions, visit:

Set this in `.env`:

```
DB_CONNECTION=sqlite
DB_DATABASE=/absolute/path/to/database/database.sqlite
```

Then run:

```
php artisan vendor:publish --tag=ultraclarity-config
php artisan vendor:publish --tag=ultraclarity-migrations
php artisan migrate
php artisan ultraclarity:seed
php artisan serve
```

Dashboard Panels
----------------

[](#dashboard-panels)

PrismPath keeps every major feature within two or three clicks:

- **Overview**: live users, visitors, sessions, page views, bounce rate, scroll depth, movement samples, and heatmap intensity.
- **Live Users**: active sessions with current page, activity, device, OS, browser, city, country, clicks, scroll depth, and replay access.
- **Sessions &amp; Timelines**: searchable, sortable, paginated session table with expandable page details and embedded replay controls.
- **Page Views**: top URLs, views, average duration, exit rate, scroll depth, and click volume.
- **Clicks &amp; Scrolls**: element-level click analytics and page behavior charts.
- **Heatmaps**: click, movement, and scroll overlays with AI hotspot summaries.
- **Events &amp; Conversions**: custom event counts and funnel conversion progress.
- **Exports &amp; Reports**: JSON, CSV, timeline, heatmap, live user, session, and print/PDF report exports.

Tracking Snippet
----------------

[](#tracking-snippet)

Use the Blade directive:

```
@prismpath
```

Or render manually:

```
{!! PrismPath::script() !!}
```

The snippet batches and tracks:

- Page views and navigation paths
- Clicks and element selectors
- Scroll depth
- Mouse movement density
- Form submissions
- Video plays
- Typing/input activity metadata
- Custom events
- GDPR opt-out state

Custom event example:

```

window.PrismPath.event('signup_started', {
    plan: 'pro',
    source: 'pricing_page'
});

```

Privacy controls:

```

window.PrismPath.optOut();
window.PrismPath.optIn();

```

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

[](#configuration-1)

Publish config:

```
php artisan vendor:publish --tag=ultraclarity-config
```

Important `.env` values:

```
ULTRACLARITY_ENABLED=true
ULTRACLARITY_ROUTE_PREFIX=ultraclarity
ULTRACLARITY_DASHBOARD_AUTH=true
ULTRACLARITY_DASHBOARD_EMAIL=admin@prismpath.test
ULTRACLARITY_DASHBOARD_PASSWORD=password

ULTRACLARITY_SESSIONS=true
ULTRACLARITY_HEATMAPS=true
ULTRACLARITY_CLICKS=true
ULTRACLARITY_AI_INSIGHTS=true
ULTRACLARITY_ECHO=false

ULTRACLARITY_RAW_RETENTION_DAYS=90
ULTRACLARITY_RECORDING_RETENTION_DAYS=30
ULTRACLARITY_AGGREGATE_RETENTION_DAYS=365

ULTRACLARITY_STORAGE_DRIVER=database
ULTRACLARITY_STORAGE_DISK=local
ULTRACLARITY_REDIS_CONNECTION=default
ULTRACLARITY_SAMPLE_RATE=1.0
```

Real-Time Updates
-----------------

[](#real-time-updates)

The dashboard polls live users every few seconds by default. If your app configures Laravel Echo and broadcasts the `ultraclarity.live` channel, PrismPath listens for `.session.updated` events and updates the live user panel immediately.

PrismPath accepts matching `PRISMPATH_*` environment keys, for example `PRISMPATH_ENABLED=true` and `PRISMPATH_DASHBOARD_EMAIL=admin@example.com`. The legacy `ULTRACLARITY_*` keys, `@ultraclarity` directive, and `UltraClarity`facade remain as compatibility aliases for existing installations.

Commands
--------

[](#commands)

```
php artisan ultraclarity:seed
php artisan ultraclarity:seed --fresh
php artisan ultraclarity:heatmaps
php artisan ultraclarity:cleanup
php artisan ultraclarity:report daily
php artisan ultraclarity:report weekly
php artisan ultraclarity:report monthly --email
```

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

[](#documentation)

- [Installation](docs/installation.md)
- [Usage Guide](docs/usage.md)
- [Configuration](docs/configuration.md)
- [Developer Notes](docs/developer.md)

Package Structure
-----------------

[](#package-structure)

```
config/                     Package configuration
database/migrations/        Analytics tables
database/seeders/           Demo analytics data
resources/js/               Tracker and dashboard assets
resources/views/            Dashboard, report, components
routes/web.php              Dashboard, exports, replay APIs
routes/api.php              Collection endpoint
src/Commands/               Cleanup, seed, reports, heatmaps
src/Events/                 Live dashboard events
src/Http/Controllers/       Collection and dashboard APIs
src/Models/                 Visitor, Session, PageView, events, heatmaps
src/Repositories/           Dashboard query layer
src/Services/               Ingestion, compression, AI insights

```

Production Notes
----------------

[](#production-notes)

- Keep dashboard authentication enabled or replace the middleware with your app's admin auth.
- Use queue workers for heavier analytics processing.
- Use Redis cache in high-traffic apps.
- Review privacy requirements for IP storage, input masking, consent, and retention.
- Set `ULTRACLARITY_SAMPLE_RATE` below `1.0` for very high traffic sites.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance91

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

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

2

Last Release

43d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.0.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/59db075de0f4de8e0732f08751e150f31fa6c96809182ee8dfc4de990534047a?d=identicon)[junaid63](/maintainers/junaid63)

---

Tags

laraveldashboardanalyticsgoogle-analyticsSession Replayai-insightsheatmapsprismpath

### Embed Badge

![Health badge](/badges/junaid63-prism-path/health.svg)

```
[![Health](https://phpackages.com/badges/junaid63-prism-path/health.svg)](https://phpackages.com/packages/junaid63-prism-path)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[api-platform/laravel

API Platform support for Laravel

59156.3k10](/packages/api-platform-laravel)[hasinhayder/tyro-dashboard

Tyro Dashboard - Beautiful admin dashboard for managing Tyro roles, privileges, users, and settings

5222.7k](/packages/hasinhayder-tyro-dashboard)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1232.2k16](/packages/fleetbase-core-api)

PHPackages © 2026

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