abbasudo / pulse-users
Laravel Pulse Card for Users Chart
Installs: 20 737
Dependents: 0
Suggesters: 0
Security: 0
Stars: 28
Watchers: 2
Forks: 4
Open Issues: 0
Requires
- php: ^8.1
- illuminate/contracts: ^10.21|^11.4
- laravel/pulse: ^1.0@beta
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8|^8.1
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^8.14|^9.0
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
Hourly Usage for Laravel Pulse
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 amkhzomi@gmail.com instead of using the issue tracker.