{"repo":"mbpcoder/laravel-monolog-telegram","free":true,"listed":false,"github":"https://github.com/mbpcoder/laravel-monolog-telegram","clone":"git clone https://github.com/mbpcoder/laravel-monolog-telegram.git","description":"Send Laravel exception to Telegram base one Monolog","language":"PHP","stars":30,"topics":["telegram","telegram-bot","monolog","laravel"],"license":null,"category":"chat-messaging","readme_excerpt":"Real-Time Laravel exception logs in your Telegram 🚀 ScreenShot ❓ Why Another Logger? Logging should be more than just saving data — it should drive action . Here’s why 🔔 Telegram Handler for Monolog 📝 is a game-changer: - 🚀 Real-Time Feedback – Instantly receive logs in your Telegram chat. - 🧠 Actionable Insights – Include useful context for quick understanding. - 🛡️ No Need for Sentry or Third-Party Services - ⚡ Immediate Alerts – Be notified of issues the moment they happen. - 👥 Team Collaboration – Share logs in group chats for quick follow-up. - 🧩 Easy Customization – Use PHP attributes to control log routing. 🎯 Installation Install via Composer: ⚙️ Usage Update your config/logging.php file to configure the Telegram logging channel. ⏳ Running Logs in a Queue If a queue name is set, logs will be processed asynchronously in the specified queue. Otherwise, they will run synchronously. 🔧 Configuration Example Modify your config/logging.php file: 🏷️ Topic-Based Logging You can assign a PHP Attribute (Annotation) to controller methods, command handlers, or job handlers, enabling topic-based logging. The package will use the first detected attribute to determine the topic for logging messages. 💡 Example: 📌 Controller Method: ⚡ Command or Job Handler: ⚙️ Livewire Component Route: 🔄 Customizing Log Settings at Runtime You can dynamically set the bot token, chat ID, and topic ID while logging: 📜 Environment Variables Ensure the following variables are set in your .en","default_branch":null,"files":null,"tree":[],"storefront":"/r/mbpcoder","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mbpcoder/laravel-monolog-telegram/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}