Laravel telegram log is a package that can catch your logs all quite simply

Overview

Laravel Telegram Log

Packagist Downloads Packagist Version GitHub

Laravel Telegram log

Laravel telegram log is a package that can catch your logs all quite simply.

Requirments

This package is tested with Laravel v8 it my not work on Laravel v7 or v6 or v5

php ^7.3|^8.0
Composer ^2.3
Laravel ^8.0

Installation

Install the package by using composer:

composer require yemeni-open-source/laravel-telegram-log

Configure Your Needs

You can scape this step if you want to use default configuration, but you can publish telegram logs configuration by running:

php artisan vendor:publish --provider="YemeniOpenSource\TelegramLog\TelegramLogServiceProvider" --tag=config

This will merge the config/telegramlog.php config file to your root config directory. You are free to modify it.

Setup

Create Telegram bot

Create new telegram bot as following steps:

  • visit @BotFather
  • send /newbot to the @BotFather chat.
  • replay with the name of your new bot.
  • then replay with the username for your bot.
  • copy your bot token.

Open New Chat with your created bot

Update your .env file

LOG_CHANNEL=telegram
TELEGRAM_LOGGER_BOT_TOKEN=<your-bot-api-token>
TELEGRAM_LOGGER_CHAT_ID=<your-bot-chat-id>

Add Telegram Log Channel

  • Add the telegram logging channel to your config/logging.php.
'channels' => [
    // ...
    'telegram' => [
        'driver' => 'custom',
        'via' => YemeniOpenSource\TelegramLog\Services\TelegramService::class,
        'level' => 'debug',
    ],
    // ...
],

Credits

The MIT License (MIT). Please see MIT license File for more information.

You might also like...
 Laravel Logable is a simple way to log http request in your Laravel application.
Laravel Logable is a simple way to log http request in your Laravel application.

Laravel Logable is a simple way to log http request in your Laravel application. Requirements php = 7.4 Laravel version = 6.0 Installation composer

A simple Laravel event log package for easy model based logging.

Karacraft Logman A simple Model Event Logging Package Usage Installation composer require karacraft/logman Migrate php artisan migrate Publish php a

PHP package to help the development of Laravel-based Telegram bots
PHP package to help the development of Laravel-based Telegram bots

Laravel-telegram-bot Project description goes here. This description is usually two to three lines long. It should give an overview of what the projec

Log activity inside your Laravel app
Log activity inside your Laravel app

Log activity inside your Laravel app The spatie/laravel-activitylog package provides easy to use functions to log the activities of the users of your

OPcodes's Log Viewer is a perfect companion for your Laravel app
OPcodes's Log Viewer is a perfect companion for your Laravel app

Log Viewer Easy-to-use, fast, and beautiful Features | Installation | Configuration | Authorization | Troubleshooting | Credits OPcodes's Log Viewer i

Mailing platform with templates and logs included.

MailCarrier User-friendly, API-ready mail platform with templates and logs. Design global layouts, compose your template, preview your emails and send

Live Helper Chat - live support for your website. Featuring web and mobile apps, Voice & Video & ScreenShare. Supports Telegram, Twilio (whatsapp), Facebook messenger including building a bot.

Live helper chat It's an open-source powered application, which brings simplicity and usability in one place. With live helper chat you can bring live

How to get cookies from users' browser and send the information to your email address and telegram bot

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Locust are malware that can delete all folders, files, etc. on the system; I
Locust are malware that can delete all folders, files, etc. on the system; I

Locust are malware that can delete all folders, files, etc. on the system; It was originally designed for web systems.

Owner
Muath Alsowadi
Founder of @open-sale. On a mission to improve programming quality.
Muath Alsowadi
Catch incoming emails in your Laravel application

Laravel Mailbox ?? Handle incoming emails in your Laravel application. Mailbox::from('{username}@gmail.com', function (InboundEmail $email, $username)

Beyond Code 918 Jan 2, 2023
Laravel User Activity Log - a package for Laravel 8.x that provides easy to use features to log the activities of the users of your Laravel app

Laravel User Activity Log - a package for Laravel 8.x that provides easy to use features to log the activities of the users of your Laravel app

null 9 Dec 14, 2022
Laravel Authentication Log is a package Log user authentication details and send new device notifications.

Laravel Authentication Log is a package which tracks your user's authentication information such as login/logout time, IP, Browser, Location, etc. as well as sends out notifications via mail, slack, or sms for new devices and failed logins.

Anthony Rappa 540 Jan 5, 2023
Create and manage A Domain Driven Design (DDD) in your Laravel app, simply and efficiently.

Create and manage A Domain Driven Design (DDD) in your Laravel app, simply and efficiently.

Lucas Nepomuceno 4 Jun 11, 2022
This Package helps you in laravel application to log all desired activity for each request from request entry point to generate response at a single snapshot.

Laravel Scenario Logger This Package helps you in laravel application to log all desired activity for each request from request entry point to generat

Mehrdad Mahdian 6 Sep 27, 2021
Laravel Rocket chat Debugher, push all logs to rocket chat channels

Laravel Rocket chat Debugher, push all logs to rocket chat channels

Novaday 4 Jun 13, 2022
Simply define the permission in the filament resource.

Simply define the permissions in the filament resource. Easily define permissions for Filament Resources & Relation Managers Installation You can inst

Ziyaan 8 Nov 16, 2022
A simple package to forward Laravel application logs to a Kinesis stream

Laravel Monolog Kinesis Driver A simple package to forward Laravel application logs to a Kinesis stream. Installation Require the package with compose

Pod Point 34 Sep 6, 2022
Filament-spatie-laravel-activitylog - View your activity logs inside of Filament. ⚡️

View your activity logs inside of Filament. This package provides a Filament resource that shows you all of the activity logs created using the spatie

Ryan Chandler 45 Dec 26, 2022
A Laravel Nova tool for viewing your application logs

This package makes it easy to view your Laravel application logs inside of Nova. It even supports polling. Installation You can install the Nova tool

The Laravel Framework 117 Dec 11, 2022