PHPackages                             benjamin-chen/table-activity-record - 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. [Framework](/categories/framework)
4. /
5. benjamin-chen/table-activity-record

ActiveLibrary[Framework](/categories/framework)

benjamin-chen/table-activity-record
===================================

table action record for lumen framework

v0.1.5(7y ago)050MITPHPPHP &gt;=7.1.3

Since Dec 27Pushed 7y ago1 watchersCompare

[ Source](https://github.com/benjaminchen/TableActivityRecord)[ Packagist](https://packagist.org/packages/benjamin-chen/table-activity-record)[ RSS](/packages/benjamin-chen-table-activity-record/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

Lumen Table Activity Record
===========================

[](#lumen-table-activity-record)

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

[](#requirements)

- PHP &gt;= 5.5.9
- lumen &gt;= 5.7
- influxdb &gt;= 1.7

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

[](#installation)

Installation via Composer:

```
composer require benjamin-chen/table-activity-record

```

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

[](#configuration)

### Lumen 5.7

[](#lumen-57)

Add the Service Provider in `bootstrap/app.php`:

```
$app->register(BenjaminChen\TableActivityRecord\ServiceProvider::class);

```

Add env setting in `.env`:

```
INFLUXDB_HOST=your-influx-db-host
INFLUXDB_PORT=8086
INFLUXDB_DATABASE=your-influx-db-database

```

Add operate logging channel

```
'channels' => [
    'operate' => [
        'driver' => 'daily',
        'path' => storage_path('logs/operate/operate.log'),
    ]
],

```

Usage
-----

[](#usage)

Define model tags in model file:

```
class TestModel extends Model
{
    ...........

    public $tags = [
        'a', 'b', 'c'
    ];
}

```

Fire event after model executing create, update and delete methods

```
use BenjaminChen\TableActivityRecord\Events\TableActionEvent;

Event::fire(new TableActionEvent('create', $model));

```

Fire event will log your event data in `storage/logs/operate/operate-yyyy-mm-dd.log` and store the event record at influx-db.

You can use command `php artisan operateRecord:check` to check local log is the same with influx-db record

License
-------

[](#license)

This package is open-source software and licensed under the MIT License.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~1 days

Total

6

Last Release

2689d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4aa2e196dc0845dbbaac031ed317c9d36bb921ff5a8e6634c12c3be1ccf24142?d=identicon)[benjaminchen](/maintainers/benjaminchen)

---

Top Contributors

[![benjaminchen](https://avatars.githubusercontent.com/u/5309942?v=4)](https://github.com/benjaminchen "benjaminchen (7 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benjamin-chen-table-activity-record/health.svg)

```
[![Health](https://phpackages.com/badges/benjamin-chen-table-activity-record/health.svg)](https://phpackages.com/packages/benjamin-chen-table-activity-record)
```

PHPackages © 2026

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