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 4w ago

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 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

1613d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e6c513d7c1a6f1b5e96c3ceb2d16a490128a41643a592544e446c9f1669938b?d=identicon)[ww285276792](/maintainers/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.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M93](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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