PHPackages                             codelikesuraj/lograh-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. codelikesuraj/lograh-php

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

codelikesuraj/lograh-php
========================

A light-weight logger that logs to Telegram.

v1.0.0(2y ago)417MITPHPPHP &gt;=8.0

Since Feb 22Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/codelikesuraj/lograh-php)[ Packagist](https://packagist.org/packages/codelikesuraj/lograh-php)[ RSS](/packages/codelikesuraj-lograh-php/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

LograhPHP - Send exceptions from PHP to Telegram
================================================

[](#lograhphp---send-exceptions-from-php-to-telegram)

LograhPHP sends your exceptions to Telegram chats, channels or groups.

Requirements
------------

[](#requirements)

- PHP 8.0 or above.
- php\_curl extension enabled.
- A Telegram bot's access token and chat/channel/group id. Generate a Telegram bot with .

Installation
------------

[](#installation)

```
$ composer require codelikesuraj/lograh-php
```

Basic Usage
-----------

[](#basic-usage)

### Sample code

[](#sample-code)

```
