PHPackages                             luffies/laravel-api-log - 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. luffies/laravel-api-log

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

luffies/laravel-api-log
=======================

A Laravel api log SDK.

1.0.0(4y ago)04MITPHP

Since Dec 8Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ww285276792/laravel-api-log)[ Packagist](https://packagist.org/packages/luffies/laravel-api-log)[ RSS](/packages/luffies-laravel-api-log/feed)WikiDiscussions master Synced today

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

 Laravel Api Log
=================

[](#-laravel-api-log-)

 a laravel simple record api logs through middleware.

安装
--

[](#安装)

```
$ composer require luffies/laravel-api-log
```

配置
--

[](#配置)

发布配置文件

```
$ php artisan vendor:publish --tag=api-log-config
```

发布迁移文件

```
$ php artisan vendor:publish --tag=api-log-migrations
```

生成数据库结构

```
$ php artisan migrate
```

使用
--

[](#使用)

在需要添加记录的路由中加入api.log中间件，也可以自定义中间件

```
Route::get('/test', ['uses' => 'App\Http\Controllers\TestController@index'])->middleware('api.log');
```

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

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

Unknown

Total

1

Last Release

1667d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12603664?v=4)[luffy](/maintainers/ww285276792)[@ww285276792](https://github.com/ww285276792)

---

Top Contributors

[![suhsbs](https://avatars.githubusercontent.com/u/78867911?v=4)](https://github.com/suhsbs "suhsbs (1 commits)")

### Embed Badge

![Health badge](/badges/luffies-laravel-api-log/health.svg)

```
[![Health](https://phpackages.com/badges/luffies-laravel-api-log/health.svg)](https://phpackages.com/packages/luffies-laravel-api-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M341](/packages/open-telemetry-sdk)

PHPackages © 2026

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