PHPackages                             alpha-dev-team/logger - 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. alpha-dev-team/logger

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

alpha-dev-team/logger
=====================

Logger via db records, telegram and files. Based on Laravel logger.

1.5(2y ago)027MITPHPPHP ^8.1

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/vascovitche/alpha-dev-logger)[ Packagist](https://packagist.org/packages/alpha-dev-team/logger)[ RSS](/packages/alpha-dev-team-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (8)Used By (0)

Alpha-Dev-Logger
================

[](#alpha-dev-logger)

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

[](#requirements)

- PHP v8.1+

Description
-----------

[](#description)

Logger via db records, telegram and files. Based on standard Laravel logger. It also utilizes the Monolog library. Plus, Alpha-Dev-Logger comes with a simple administration panel for reading, change status and delete log records.

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

[](#installation)

First step is install Alpha-Dev-Logger via the Composer command

```
composer require alpha-dev-team/logger
```

Next important step is published configuration file logger-alpha.php

```
php artisan vendor:publish --tag=logger-config --force
```

Also need run migration for new logs table:

```
php artisan migrate
```

Configuration
-------------

[](#configuration)

### General

[](#general)

Since Alpha-Dev-Logger based on standard Laravel logger, some configurations need to be made in logging.php in **channels** array. For convenience, all needed changes in logging.php contain in logger-alpha.php in **channels** array.

#### DB

[](#db)

Set in logging.php in **channels**(You can find it in logger-alpha.php in **channels** array):

```
'db' => [
    'driver' => 'custom',
    'via' => \AlphaDevTeam\Logger\Logging\AlphaDevDBLogger::class,
    'level' => env('LOG_LEVEL', 'debug'),
],
```

#### Telegram

[](#telegram)

If You want to get log errors to Telegram channel set in logging.php in **channels**(You can find it in logger-alpha.php in **channels** array):

```
'telegram' => [
    'driver' => 'custom',
    'via' => \AlphaDevTeam\Logger\Logging\AlphaDevTelegramLogger::class,
    'level' => env('LOG_LEVEL', 'debug'),
],
```

For using Telegram notifications it is necessary to determine and set telegram api bot and telegram channel name in Your .env file:

```
LOG_TELEGRAM_BOT_API=999999999:AAAAAAAsAAA9AaAAAaaaAaAaAaAAA99aAaa
LOG_TELEGRAM_CHANNEL=telegram_channel
```

Also, You can make some changes for Telegram message view in logger-alpha.php.

#### Daily Files

[](#daily-files)

If You want save log errors in files in json format, set in logging.php in **channels**(You can find it in logger-alpha.php in **channels** array):

```
'daily' => [
    'driver' => 'daily',
    'path' => storage_path('logs/daily/laravel.log'),
    'tap' => [\AlphaDevTeam\Logger\Logging\AlphaDevLogJson::class],
    'level' => env('LOG_LEVEL', 'debug'),
    'days' => 14,
],
```

Parameter days in daily array sets the retention period for files. You can set another.

#### General

[](#general-1)

Finally, make sure, that current log channel is **stack** in .env file.

```
LOG_CHANNEL=stack
```

And the last. Add to logging.php to array **channels.stack.channels** channels, that You will use:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['daily', 'db', 'telegram'],
    'ignore_exceptions' => false,
],
```

### Panel

[](#panel)

Alpha-Dev-Logger comes with a simple administration panel for reading, change status and delete log records. You can make some changes for panel rotes in logger-alpha.php.

### Fresh Logs

[](#fresh-logs)

For refresh logs db retrieved special command RefreshLogsTable. You can configure edge date time for soft delete records and edge date time for totally delete records in logger-alpha.php in **db.remove\_in\_months**

Also, You can add this command to Task Scheduling in App\\Console\\Kernel to **schedule** method. For example every month:

```
$schedule->command('refresh-logs:run')->monthly();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~1 days

Total

7

Last Release

1047d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d03b6d2705ed26831bc08975550852ccecff441ab18df911b570523f2f4b516?d=identicon)[vascovitche](/maintainers/vascovitche)

---

Top Contributors

[![vascovitche](https://avatars.githubusercontent.com/u/28654340?v=4)](https://github.com/vascovitche "vascovitche (35 commits)")

### Embed Badge

![Health badge](/badges/alpha-dev-team-logger/health.svg)

```
[![Health](https://phpackages.com/badges/alpha-dev-team-logger/health.svg)](https://phpackages.com/packages/alpha-dev-team-logger)
```

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[regulus/activity-log

A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.

164220.1k2](/packages/regulus-activity-log)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
