Mise en place de Larabug

This commit is contained in:
hugol
2024-11-17 12:01:26 +01:00
parent 5a55845ee4
commit 3d386178bf
4 changed files with 77 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
"foroco/php-browser-detection": "^2.8", "foroco/php-browser-detection": "^2.8",
"guzzlehttp/oauth-subscriber": "^0.6.0", "guzzlehttp/oauth-subscriber": "^0.6.0",
"kamona/fortify-bootstrap": "^1.0", "kamona/fortify-bootstrap": "^1.0",
"larabug/larabug": "^3.1",
"laravel/framework": "^11.27.2", "laravel/framework": "^11.27.2",
"laravel/nova": "*", "laravel/nova": "*",
"laravel/tinker": "^2.10", "laravel/tinker": "^2.10",

71
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "9b57261ced0c6b75956af96d12fc8913", "content-hash": "5e9aafb897b7898c9c493bb7db309e88",
"packages": [ "packages": [
{ {
"name": "artesaos/seotools", "name": "artesaos/seotools",
@@ -1684,6 +1684,75 @@
}, },
"time": "2022-03-04T11:41:48+00:00" "time": "2022-03-04T11:41:48+00:00"
}, },
{
"name": "larabug/larabug",
"version": "3.1",
"source": {
"type": "git",
"url": "https://github.com/LaraBug/LaraBug.git",
"reference": "ab1443eb30a72648864642f1211108c23efb0f7a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/LaraBug/LaraBug/zipball/ab1443eb30a72648864642f1211108c23efb0f7a",
"reference": "ab1443eb30a72648864642f1211108c23efb0f7a",
"shasum": ""
},
"require": {
"guzzlehttp/guzzle": "^6.0.2 || ^7.0",
"illuminate/support": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0",
"nesbot/carbon": "^2.62.1 || ^3.0",
"php": "^7.4 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.4",
"mockery/mockery": "^1.3.3 || ^1.4.2",
"orchestra/testbench": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0",
"phpunit/phpunit": "^8.5.23 || ^9.5.12 || ^10.0.9"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"LaraBug\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"LaraBug\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Dennis Smink",
"email": "dennissmink@gmail.com",
"homepage": "http://www.dennissmink.nl",
"role": "Owner"
}
],
"description": "Laravel 6.x/7.x/8.x/9.x bug notifier",
"keywords": [
"error",
"laravel",
"log"
],
"support": {
"issues": "https://github.com/LaraBug/LaraBug/issues",
"source": "https://github.com/LaraBug/LaraBug/tree/3.1"
},
"funding": [
{
"url": "https://github.com/cannonb4ll",
"type": "github"
}
],
"time": "2024-04-10T08:41:38+00:00"
},
{ {
"name": "laravel/fortify", "name": "laravel/fortify",
"version": "v1.24.5", "version": "v1.24.5",

View File

@@ -54,10 +54,14 @@ return [
'stack' => [ 'stack' => [
'driver' => 'stack', 'driver' => 'stack',
'channels' => explode(',', env('LOG_STACK', 'single')), 'channels' => ['single', 'larabug'],
'ignore_exceptions' => false, 'ignore_exceptions' => false,
], ],
'larabug' => [
'driver' => 'larabug',
],
'single' => [ 'single' => [
'driver' => 'single', 'driver' => 'single',
'path' => storage_path('logs/laravel.log'), 'path' => storage_path('logs/laravel.log'),

View File

@@ -98,9 +98,7 @@ return [
'word_tag' => [ 'word_tag' => [
"invit", "invit",
"mention", "mention",
"mentionnez une", "mentionne",
"mentionnez un",
"mentionnez des",
"tag", "tag",
"#tag", "#tag",
"taguer", "taguer",