peynman/larapress-reports

TimeSeries and Metrics for @Larapress-crud based resources.

dev-master 2021-12-12 15:03 UTC

This package is auto-updated.

Last update: 2024-04-12 19:49:41 UTC


README

Larapress Reports

A package to provide automatic and customized metrics and reporting for Larapress CRUD and other packages based on it.

Dependencies

Install

  1. composer require peynman/larapress-reports

Config

  1. Run php artisan vendor:publish --tag=larapress-reports
  2. Update broadcasting.connections.pusher to
    'driver' => 'pusher',
    'key' => env('PUSHER_APP_KEY'),
    'secret' => null,
    'app_id' => env('PUSHER_APP_ID'),
    'options' => [
        'cluster' => null,
        'encrypted' => true,
        'host' => env('ECHO_HOST', 'laravel-echo'),
        'port' => env('ECHO_PORT', 8443),
        'scheme' => env('ECHO_PROTOCOL', 'http')
    ],

Usage