starring-jane/logging
Logging made for use inside laravel apps
Maintainers
v2.0.0
2026-04-07 07:43 UTC
Requires
- php: ^8.3
- illuminate/support: ^12.0|^13.0
- laravel-notification-channels/microsoft-teams: ^2.2
- monolog/monolog: ^3.4
Requires (Dev)
- pestphp/pest: ^v4.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
MIT 3d0be60a7af314df53d952e345334f856a404970
- Brian Verschoore <brian.woop@starringjane.com>
README
#Starring Jane logging tool for Laravel
Available channels
- Teams
- Loggly
Installation
Run the composer install command to install the package
composer require starring-jane/logging
Configuration
Optionally you can publish the config file with:
php artisan vendor:publish --provider="StarringJane\Logging\LoggingServiceProvider" --tag="config"
Set up the following environment variables in your .env file:
TEAMS_WEBHOOK_URL= LOGGLY_TOKEN= LOGGLY_TAG=
When one or multiple of these variables are not set, the corresponding logging channel will not be used.
Finally, all you need to do is add the following line to your config/logging.php file and enable the channel in stack channels or as a single channel:
'channels' => [ ... 'starringjane' => [ 'driver' => 'custom', 'via' => \StarringJane\Logging\Logging\LoggerChannel::class, 'level' => 'notice', ], ... ],
