Download the PHP package mepsd/laravel-google-chat-logger without Composer
On this page you can find all versions of the php package mepsd/laravel-google-chat-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mepsd/laravel-google-chat-logger
More information about mepsd/laravel-google-chat-logger
Files in mepsd/laravel-google-chat-logger
Download mepsd/laravel-google-chat-logger
More information about mepsd/laravel-google-chat-logger
Files in mepsd/laravel-google-chat-logger
Vendor mepsd
Package laravel-google-chat-logger
Short Description Send Laravel application logs to Google Chat with rich formatting, emoji support, and context data
License MIT
Package laravel-google-chat-logger
Short Description Send Laravel application logs to Google Chat with rich formatting, emoji support, and context data
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-google-chat-logger
Laravel Google Chat Logger ๐
Send your Laravel application logs directly to Google Chat with rich formatting, emoji support, threading, and automatic retries.
Features ๐
- ๐ฏ Easy Integration: Works with Laravel's built-in logging system
- ๐งต Message Threading: Group related logs into threads
- ๐จ Rich Formatting: Messages are beautifully formatted in Google Chat
- ๐ Automatic Retries: Built-in retry mechanism for failed messages
- ๐ฏ Level-based Emojis: Different emojis for different log levels
- ๐ Environment Aware: Includes environment information in logs
- โก Performance: Configurable timeouts and retry settings
- ๐จ Exception Handling: Detailed exception formatting with stack traces
Requirements ๐
- PHP 8.1 or higher
- Laravel 10.x or 11.x
- Google Chat space with webhook access
Installation ๐ฟ
-
Install the package via composer:
-
Add these variables to your
.env
file: - Add this to your
config/logging.php
channels array:
Usage ๐
Basic Logging
Message Threading
Group related logs into threads:
Exception Handling
Exceptions are automatically formatted with details:
Log Levels and Emojis
Each log level has its own emoji:
- ๐จ EMERGENCY - System is unusable
- โ ๏ธ ALERT - Action must be taken immediately
- ๐ฅ CRITICAL - Critical conditions
- โ ERROR - Error conditions
- โ ๏ธ WARNING - Warning conditions
- ๐ NOTICE - Normal but significant conditions
- โน๏ธ INFO - Informational messages
- ๐ DEBUG - Debug-level messages
Message Format
Messages in Google Chat will look like:
Your message here
Context: { "user_id": 123, "action": "login" } bash composer test
## Security ๐
If you discover any security-related issues, please use the issue tracker.
## Credits ๐
- [Paras Suthar Darji](https://github.com/mepsd)
- [All Contributors](../../contributors)
## License ๐
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
All versions of laravel-google-chat-logger with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1
illuminate/support Version ^10.0|^11.0
monolog/monolog Version ^3.0
guzzlehttp/guzzle Version ^7.5
illuminate/support Version ^10.0|^11.0
monolog/monolog Version ^3.0
guzzlehttp/guzzle Version ^7.5
The package mepsd/laravel-google-chat-logger contains the following files
Loading the files please wait ....