This commit is contained in:
2024-01-26 00:43:29 +05:00
parent 7eec5cce74
commit 6248c6fbe2
4 changed files with 87 additions and 4 deletions

View File

@@ -16,6 +16,7 @@
"laravel/pulse": "^1.0@beta",
"laravel/sanctum": "^3.3",
"laravel/tinker": "^2.8",
"morrislaptop/laravel-pulse-4xx": "^0.0.2",
"nurmuhammet/nova-inputmask": "^1.0",
"outl1ne/nova-grid": "@dev",
"outl1ne/nova-translatable": "^2.2",

76
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "9f216ae907952d6c2ee506c0abbc712c",
"content-hash": "65b4f0498af75681baab37e706324333",
"packages": [
{
"name": "brick/math",
@@ -3157,6 +3157,80 @@
],
"time": "2023-10-27T15:32:31+00:00"
},
{
"name": "morrislaptop/laravel-pulse-4xx",
"version": "v0.0.2",
"source": {
"type": "git",
"url": "https://github.com/morrislaptop/laravel-pulse-4xx.git",
"reference": "27134dcbe9086ce4b147f60bde633b387c449692"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/morrislaptop/laravel-pulse-4xx/zipball/27134dcbe9086ce4b147f60bde633b387c449692",
"reference": "27134dcbe9086ce4b147f60bde633b387c449692",
"shasum": ""
},
"require": {
"illuminate/contracts": "^10.21",
"laravel/pulse": "^1.0@beta",
"php": "^8.1",
"spatie/laravel-package-tools": "^1.14.0"
},
"require-dev": {
"laravel/pint": "^1.0",
"nunomaduro/collision": "^7.8",
"nunomaduro/larastan": "^2.0.1",
"orchestra/testbench": "^8.14",
"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"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"Morrislaptop\\LaravelPulse4xx\\LaravelPulse4xxServiceProvider"
],
"aliases": {
"LaravelPulse4xx": "Morrislaptop\\LaravelPulse4xx\\Facades\\LaravelPulse4xx"
}
}
},
"autoload": {
"psr-4": {
"Morrislaptop\\LaravelPulse4xx\\": "src/",
"Morrislaptop\\LaravelPulse4xx\\Database\\Factories\\": "database/factories/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Craig Morris",
"email": "craig.michael.morris@gmail.com",
"role": "Developer"
}
],
"description": "Laravel Pulse Card for 4XX responses like validation, auth and not found",
"homepage": "https://github.com/morrislaptop/laravel-pulse-4xx",
"keywords": [
"Craig Morris",
"laravel",
"laravel-pulse-4xx"
],
"support": {
"issues": "https://github.com/morrislaptop/laravel-pulse-4xx/issues",
"source": "https://github.com/morrislaptop/laravel-pulse-4xx/tree/v0.0.2"
},
"time": "2023-12-07T10:21:03+00:00"
},
{
"name": "nesbot/carbon",
"version": "2.71.0",

View File

@@ -226,6 +226,12 @@ return [
\Geow\DiskMetrics\Recorders\DiskRecorder::class => [
'enabled' => env('GEOW_DISK_METRICS', true),
]
],
\Morrislaptop\LaravelPulse4xx\FourXxRecorder::class => [
'enabled' => env('PULSE_4XX_ENABLED', true),
'sample_rate' => env('PULSE_4XX_SAMPLE_RATE', 1),
'ignore' => [],
],
],
];

View File

@@ -1,7 +1,9 @@
<x-pulse>
<livewire:pulse.about-application />
<livewire:pulse.about-application cols="4" rows="2" />
<livewire:disk-metrics />
<livewire:disk-metrics cols="4" rows="2" />
<livewire:4xx cols="4" rows="2" />
<livewire:pulse.servers cols="full" />