PHPackages                             hsnbd/auditlog - 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. hsnbd/auditlog

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

hsnbd/auditlog
==============

Elasticsearch auditlog for laravel application.

0.0.1(5y ago)247MITPHPPHP &gt;=7.4

Since Jan 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hsnbd/auditlog)[ Packagist](https://packagist.org/packages/hsnbd/auditlog)[ RSS](/packages/hsnbd-auditlog/feed)WikiDiscussions develop Synced 5d ago

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

Welcome to ELK AuditLog
=======================

[](#welcome-to-elk-auditlog)

An easy way to use the [official Elastic Search client](https://github.com/elastic/elasticsearch-php) for auditlog in your Laravel applications.

[![Total Downloads](https://camo.githubusercontent.com/7429dee226a0723a4022cdd14d6212902c9b5d6dc0a019658253c0e4cfa05ab1/68747470733a2f2f706f7365722e707567782e6f72672f68736e62642f61756469746c6f672f646f776e6c6f6164732e706e67)](https://packagist.org/packages/hsnbd/auditlog)[![Latest Stable Version](https://camo.githubusercontent.com/3d61aa6cf63830ef17af16a8170fd545ce93f9e9e31ed03accf6d59946ad7b3f/68747470733a2f2f706f7365722e707567782e6f72672f68736e62642f61756469746c6f672f762f737461626c652e706e67)](https://packagist.org/packages/hsnbd/auditlog)[![Latest Stable Version](https://camo.githubusercontent.com/cc3545745e6ac71b01537c3284ac916430c2621f1ef91da2b062cd0862dff86a/68747470733a2f2f706f7365722e707567782e6f72672f68736e62642f61756469746c6f672f762f756e737461626c652e706e67)](https://packagist.org/packages/hsnbd/auditlog)[![License](https://camo.githubusercontent.com/b8627e467391680338549ff54148e0bf75b56cbcef5234a07cf99ceb250480f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f68736e62642f61756469746c6f67)](LICENSE.md)

- [Installation](#installation)
- [Usage](#usage)
- [Available Commands](#available-commands)
- [Laravel Model Log](#laravel-model-log)
- [Contributions and Support](#contributions-and-support)
- [Author](#author)
- [License](#license)

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

[](#installation)

Install the current version of the `hsnbd/auditlog` package via composer:

```
composer require hsnbd/auditlog
```

After install, Laravel will automatically register The package's service provider.

Publish the configuration file:

```
php artisan vendor:publish --provider="Hsnbd\AuditLogger\AuditLoggerServiceProvider"
```

Usage
-----

[](#usage)

`hsnbd/auditlog` use laravel default queue.

`php artisan queue:table`

`php artisan migrate`

The `AuditLog` facade is used for logging. In order to use that.

```
\Hsnbd\AuditLogger\AuditLog::info('Hello World');
```

```
\Hsnbd\AuditLogger\AuditLog::debug('Hello World');
```

This command must run always. `php artisan queue:work database --queue=listeners`

Please see [Available Commands](#available-commands) section before start.

Available Commands
------------------

[](#available-commands)

Some useful console commands.

For Bootstrap basic setup for ELK stack

```
php artisan auditlog:bootstrap
```

Test auditlog if it is working or not.

```
php artisan auditlog:test
```

Laravel Model Log
-----------------

[](#laravel-model-log)

If you want to track every step of laravel model, you can set it using.

```
class ABCModel extends Model implements \Hsnbd\AuditLogger\Interfaces\ShouldAuditLog {}
```

So you don't have to do anything after that.

Contributions and Support
-------------------------

[](#contributions-and-support)

Thanks to [everyone](https://github.com/hsnbd/auditlog/graphs/contributors)who has contributed to this project!

Please see [CONTRIBUTING.md](CONTRIBUTING.md) to contribute.

If you found any bugs, Please report it using [Github](https://github.com/hsnbd/auditlog)

Author
------

[](#author)

[Baker Hasan](http://hsnbd.github.io) 📧 [Email Me](mailto:hasanbd666@gmail.com)

[![Buy Me A Coffee](https://camo.githubusercontent.com/9f44ce2dc3b3eecdd02598900866ffc518801df1932849703dae1e5ce5031070/68747470733a2f2f7777772e6275796d6561636f666665652e636f6d2f6173736574732f696d672f637573746f6d5f696d616765732f6f72616e67655f696d672e706e67)](http://hsnbd.github.io)

License
-------

[](#license)

This project is licensed under the MIT License - see the [License File](LICENSE.md).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.4% 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

1927d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30e82b23eb491f877427a9c938ebe75ba4c51189064b7060fdd96f278e75a84e?d=identicon)[hsnbd](/maintainers/hsnbd)

---

Top Contributors

[![hsnbd](https://avatars.githubusercontent.com/u/15382311?v=4)](https://github.com/hsnbd "hsnbd (24 commits)")[![bakerhasanfn](https://avatars.githubusercontent.com/u/198225099?v=4)](https://github.com/bakerhasanfn "bakerhasanfn (7 commits)")

---

Tags

auditauditlogauditlogginglogging

### Embed Badge

![Health badge](/badges/hsnbd-auditlog/health.svg)

```
[![Health](https://phpackages.com/badges/hsnbd-auditlog/health.svg)](https://phpackages.com/packages/hsnbd-auditlog)
```

###  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)[betterde/logger

Elasticsearch logger handler

3230.4k](/packages/betterde-logger)

PHPackages © 2026

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