{"id":37001823,"url":"https://github.com/sergeich5/laravel-telegram-logs","last_synced_at":"2026-01-14T00:24:09.537Z","repository":{"id":217690468,"uuid":"744597488","full_name":"sergeich5/laravel-telegram-logs","owner":"sergeich5","description":"Channel to send logs to Telegram chat from Laravel application","archived":false,"fork":false,"pushed_at":"2025-11-18T14:42:55.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-18T16:41:49.374Z","etag":null,"topics":["laravel","laravel-logging","telegram"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergeich5.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-01-17T16:16:16.000Z","updated_at":"2025-11-18T14:42:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc1370ac-9b79-4fdf-876a-cb79bef4c8a8","html_url":"https://github.com/sergeich5/laravel-telegram-logs","commit_stats":null,"previous_names":["sergeich5/laravel-telegram-logs"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sergeich5/laravel-telegram-logs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeich5%2Flaravel-telegram-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeich5%2Flaravel-telegram-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeich5%2Flaravel-telegram-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeich5%2Flaravel-telegram-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergeich5","download_url":"https://codeload.github.com/sergeich5/laravel-telegram-logs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergeich5%2Flaravel-telegram-logs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["laravel","laravel-logging","telegram"],"created_at":"2026-01-14T00:24:08.917Z","updated_at":"2026-01-14T00:24:09.529Z","avatar_url":"https://github.com/sergeich5.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation\n\n1. Run composer\n\n```\ncomposer require sergeich5/laravel-telegram-logs\n```\n\n2. Add new channel to your `config/logging.php` at `channels` stack\n\n```php\n'telegram' =\u003e [\n    'driver' =\u003e 'custom',\n    'via'    =\u003e \\Sergeich5\\LaravelTelegramLogs\\TelegramLogger::class,\n    'level' =\u003e 'debug',\n    \n    // Telegram BOT_ID and TOKEN colon separated\n    'token' =\u003e 'BOT_ID:BOT_TOKEN',\n    \n    // Telegram Chat Id\n    'chat_id' =\u003e '12345678',\n    \n    // int|null to send message to specific chat thread, see: https://core.telegram.org/api/threads\n    'thread_id' =\u003e '123',\n    \n    // int|optional - telegram request timeout\n    'timeout' =\u003e 25,\n    \n    // string|optional telegram api domain\n    'domain' =\u003e 'https://api.telegram.org/',\n],\n```\n\n## Get Telegram updates\n\n```bash\nphp artisan tg_logs:updates {channel_name}\n```\n\nResult:\n\n| date                | chat       | chat_id   | from     | from_id | message_id | thread_id | data                               |\n|---------------------|------------|-----------|----------|---------|------------|-----------|------------------------------------|\n| 2024-07-17 10:32:38 | CHAT_NAME1 | -12345678 | UserName | 12345   | 1          | -         | Hello, world                       |\n| 2024-07-17 11:26:04 | CHAT_NAME2 | -87654321 | UserName | 12345   | 2          | 5         | topic TOPIC_NAME created with id 5 |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeich5%2Flaravel-telegram-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergeich5%2Flaravel-telegram-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergeich5%2Flaravel-telegram-logs/lists"}