aheadworks / laravel-analytics-gateway
0.1.11-beta
2024-04-19 16:50 UTC
Requires
- php: >=7.2
- illuminate/contracts: ^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/queue: ^7.0|^8.0|^9.0|^10.0|^11.0
- illuminate/support: ^7.0|^8.0|^9.0|^10.0|^11.0
- mixpanel/mixpanel-php: 2.*
- segmentio/analytics-php: 1.8.0
Suggests
- marvinlabs/laravel-discord-logger:v1.3.2: Laravel package providing a logging handler to send logs to a Discord channel
This package is not auto-updated.
Last update: 2025-03-07 20:58:54 UTC
README
php artisan vendor:publish --provider="Aheadworks\Analytics\Gateway\ServiceProvider"
For Discord notifications:
- composer require marvinlabs/laravel-discord-logger:v1.3.2
- Create a Webhook on Discord application
- Paste in
config/logging.php
the next lines:'discord' => [ 'driver' => 'custom', 'via' => MarvinLabs\DiscordLogger\Logger::class, 'level' => 'error', 'url' => env('LOG_DISCORD_WEBHOOK_URL', ''), 'ignore_exceptions' => env('LOG_DISCORD_IGNORE_EXCEPTIONS', false), ],
- Change options in
config/analytics.php
file:'errors' => [ 'logging' => true, 'log_channel' => 'discord' ],