PHPackages                             ikepu-tp/laravel-access-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. ikepu-tp/laravel-access-logger

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

ikepu-tp/laravel-access-logger
==============================

This library stores user access logs in Laravel. You can choose between log files and databases for storage.

v1.1.0(2y ago)049[1 issues](https://github.com/ikepu-tp/laravel-access-logger/issues)MITPHPPHP ^8.2

Since Aug 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ikepu-tp/laravel-access-logger)[ Packagist](https://packagist.org/packages/ikepu-tp/laravel-access-logger)[ Docs](https://rainbow-patissier.com)[ RSS](/packages/ikepu-tp-laravel-access-logger/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Access Logger
=====================

[](#laravel-access-logger)

This library stores user access logs in Laravel. You can choose between log files and databases for storage.

How to use
----------

[](#how-to-use)

1. First of all, migrate.
2. Configure driver to be `database` or `file`
3. Configure keys such as `web` and `api`.
    1. If you want to store file, also configure `logging.php`.
    2. Add the channels whose names are keys to `logging.php` by key. (see. example below.)
4. Configure guard which is used to store `user_id` (`getKey()`).
    1. Configure guard to be `false` and guards by key if you want to separate by key.
5. Configure except which is used to store request bodies(`$request->input()`) as `array`. This will be set `$request->except()`.
6. Add `\ikepu_tp\AccessLogger\app\Http\Middleware\AccessLoggerMiddleware::class` to `Kernel.php`.
7. Add `Route::resource("logs", ikepu_tp\AccessLogger\app\Http\Controllers\LogController::class)->names("accessLogger")->only(["index",]);` to `/route/web.php` if your admin want to see logs of all users. (This view shows all logs of all users. So DO NOT show for no-admin users.)

### example of `logging.php`

[](#example-of-loggingphp)

```
'web' => [
    'driver' => 'daily',
    'path' => storage_path('logs/web/laravel.log'),
    'days' => 14,
    'replace_placeholders' => true,
],
```

Contributing
------------

[](#contributing)

Thank you for your contributions. If you find bugs, let me know them with issues.

License
-------

[](#license)

Copyright (c) 2023 ikepu-tp.

This is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Total

2

Last Release

995d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ac86e517a7246ddca22b5fff5a1842130dcc28e44516e388ca07109312eacac?d=identicon)[ikepu-tp](/maintainers/ikepu-tp)

---

Tags

loglaravelaccess

### Embed Badge

![Health badge](/badges/ikepu-tp-laravel-access-logger/health.svg)

```
[![Health](https://phpackages.com/badges/ikepu-tp-laravel-access-logger/health.svg)](https://phpackages.com/packages/ikepu-tp-laravel-access-logger)
```

###  Alternatives

[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)[hosmelq/laravel-logsnag

Integrate the power of LogSnag's real-time event tracking into your Laravel application.

237.9k](/packages/hosmelq-laravel-logsnag)

PHPackages © 2026

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