modcreative/laravel-wayble-pulse

Triggers, actions, and analytics AI framework for Wayble

2.0.0 2023-11-03 21:06 UTC

This package is auto-updated.

Last update: 2024-05-08 19:11:33 UTC


README

AI Analytics framework for Laravel

Usage

Install

# install package
composer require modcreative/laravel-wayble-pulse

# export migrations
php artisan vendor:publish --tag="wayble-pulse-database"

Configure

# optionally export config
php artisan vendor:publish --tag="wayble-pulse-config"

# edit config
config/wayble-pulse.php

Filament

If you're using filament in your Laravel app, you can export the resources provided by Wayble Pulse.

# export filament resources
php artisan vendor:publish --tag="wayble-pulse-filament"

If you wish to add certain or all widgets to your dashboard you must update your admin panel provider after exporting the filament resources from the package (see above).

# app/Providers/Filament/AdminPanelProvider.php
return $panel
    ->widgets([
        \App\Filament\Widgets\Cards\ChattingStats::class,
        \App\Filament\Widgets\Charts\SignalHitsByCategory::class,
        \App\Filament\Widgets\Charts\TotalMessages::class,
        \App\Filament\Widgets\Tables\RecentMessages::class,
    ])

Kitchen Sink

Want to publish everything together and overwrite whatever already exists?

# export and overwrite all publishables
php artisan vendor:publish --tag="wayble-pulse" --force

Gotchas 💣

We use uuids everywhere!