feat: Add Discord logging support

- Added Discord webhook URL to .env.example
- Included 'marvinlabs/laravel-discord-logger' in composer.json
- Created config file for Discord logger settings
This commit is contained in:
Rico van Zelst
2024-06-03 17:07:05 +02:00
parent b65e7308de
commit ac56c13765
5 changed files with 276 additions and 2 deletions

72
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": "300044012c721a5f7c149e7c0f8c3aa0",
"content-hash": "01991fbc1fe35d4ff8b7fec2328024e4",
"packages": [
{
"name": "andcarpi/laravel-popper",
@@ -2962,6 +2962,76 @@
],
"time": "2024-03-14T14:03:32+00:00"
},
{
"name": "marvinlabs/laravel-discord-logger",
"version": "v1.4.2",
"source": {
"type": "git",
"url": "https://github.com/marvinlabs/laravel-discord-logger.git",
"reference": "e8a53579dcb4650cf1c362829f90cb9580249209"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/marvinlabs/laravel-discord-logger/zipball/e8a53579dcb4650cf1c362829f90cb9580249209",
"reference": "e8a53579dcb4650cf1c362829f90cb9580249209",
"shasum": ""
},
"require": {
"ext-json": "*",
"guzzlehttp/guzzle": "^6.3|^7.0",
"illuminate/support": "^7.0|^8.0|^9.0|^10.0 | ^11.0",
"php": ">=7.3 | ^8.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^5.0|^6.0|^8.0 | ^9.0",
"phpunit/phpunit": "^8.0|^9.0 | ^10.5",
"roave/security-advisories": "dev-master"
},
"type": "library",
"extra": {
"laravel": {
"providers": [
"MarvinLabs\\DiscordLogger\\ServiceProvider"
]
}
},
"autoload": {
"psr-4": {
"MarvinLabs\\DiscordLogger\\": "src/DiscordLogger"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Vincent Mimoun-Prat",
"email": "contact@vincentprat.info",
"homepage": "https://vincentprat.info",
"role": "Developer"
}
],
"description": "Logging to a discord channel in Laravel",
"keywords": [
"discord",
"laravel",
"logger",
"logging"
],
"support": {
"issues": "https://github.com/marvinlabs/laravel-discord-logger/issues",
"source": "https://github.com/marvinlabs/laravel-discord-logger/tree/v1.4.2"
},
"funding": [
{
"url": "https://github.com/vpratfr",
"type": "github"
}
],
"time": "2024-03-25T08:51:09+00:00"
},
{
"name": "masterminds/html5",
"version": "2.8.1",