Skip to content

abbasudo/pulse-users

Repository files navigation

Social Card of Pulse Users

Hourly Usage for Laravel Pulse

License Latest Unstable Version PHP Version Require

Pulse Users gives you an Hourly distributed requests chart.

Installation

Note You need to have Laravel Pulse installed first.

Install the package via composer by this command:

composer require abbasudo/pulse-users 

Add components to the dashboard

Note To add the card to the Pulse dashboard, you must first publish the vendor view.

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

Then, you can modify the dashboard.blade.php file:

<x-pulse>
+   <livewire:pulse.usage-hours cols='4' />

    <livewire:pulse.servers cols="full" />

    <livewire:pulse.usage cols='4' rows='1' />

Configuraion (optional)

The number of available time zones can be configured in the config/pulse.php:

    /*
     * The time zone that will be available in the drop-down selection on the "Usage Distribution" card.
     */
    'usage_hours' => [
        'timezones' => [
            'UTC',
            'Europe/Berlin',
            'Asia/Bangkok',
        ],
    ],

License

Pulse Users is Licensed under The MIT License (MIT). Please see License File for more information.

Security

If you've found a bug regarding security please mail [email protected] instead of using the issue tracker.