PHPackages                             onramplab/laravel-auditing-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. onramplab/laravel-auditing-log

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

onramplab/laravel-auditing-log
==============================

A Laravel package providing auditing log

v1.0.2(3y ago)118.9kMITPHPPHP &gt;=8.0

Since Mar 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/OnrampLab/laravel-auditing-log)[ Packagist](https://packagist.org/packages/onramplab/laravel-auditing-log)[ RSS](/packages/onramplab-laravel-auditing-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (14)Versions (4)Used By (0)

laravel-auditing-log
====================

[](#laravel-auditing-log)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![CircleCI](https://camo.githubusercontent.com/c9825e83acc69425d126293736f811b7dcda30d5d70fc0ad50a7ab096c0c5de4/68747470733a2f2f636972636c6563692e636f6d2f67682f4f6e72616d704c61622f6c61726176656c2d7061636b6167652d74656d706c6174652e7376673f7374796c653d736869656c64)](https://circleci.com/gh/OnrampLab/laravel-auditing-log)[![Total Downloads](https://camo.githubusercontent.com/8c54e05c641c9b7bc457ca5062c03fb7b2adaa4ffb201e724c095282d2723ffb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6f6e72616d706c61622f6c61726176656c2d7061636b6167652d74656d706c6174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/onramplab/laravel-auditing-log)

A Laravel package providing auditing log

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

[](#requirements)

- PHP &gt;= 8.0;
- Laravel &gt;= 8
- doctrine/dbal &gt;= 3.6
- spatie/laravel-activitylog &gt;= 4.7
- composer.

Features
--------

[](#features)

- PSR-4 autoloading compliant structure;
- PSR-2 compliant code style;
- Unit-Testing with PHPUnit 6;
- Comprehensive guide and tutorial;
- Easy to use with any framework or even a plain php file;
- Useful tools for better code included.

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

[](#installation)

```
composer require onramplab/laravel-auditing-log
```

This will create a basic project structure for you:

- **/build** is used to store code coverage output by default;
- **/src** is where your codes will live in, each class will need to reside in its own file inside this folder;
- **/tests** each class that you write in src folder needs to be tested before it was even "included" into somewhere else. So basically we have tests classes there to test other classes;
- **.gitignore** there are certain files that we don't want to publish in Git, so we just add them to this fle for them to "get ignored by git";
- **CHANGELOG.md** to keep track of package updates;
- **CONTRIBUTION.md** Contributor Covenant Code of Conduct;
- **LICENSE** terms of how much freedom other programmers is allowed to use this library;
- **README.md** it is a mini documentation of the library, this is usually the "home page" of your repo if you published it on GitHub and Packagist;
- **composer.json** is where the information about your library is stored, like package name, author and dependencies;
- **phpunit.xml** It is a configuration file of PHPUnit, so that tests classes will be able to test the classes you've written;
- **.travis.yml** basic configuration for Travis CI with configured test coverage reporting for code climate.

Please refer to original [article](http://www.darwinbiler.com/creating-composer-package-library/) for more information.

Useful Tools
------------

[](#useful-tools)

Running Tests:
--------------

[](#running-tests)

```
php vendor/bin/phpunit

```

or

```
composer test

```

Code Sniffer Tool:
------------------

[](#code-sniffer-tool)

```
php vendor/bin/phpcs --standard=PSR2 src/

```

or

```
composer psr2check

```

Code Auto-fixer:
----------------

[](#code-auto-fixer)

```
composer psr2autofix
composer insights:fix
rector:fix

```

Building Docs:
--------------

[](#building-docs)

```
php vendor/bin/phpdoc -d "src" -t "docs"

```

or

```
composer docs

```

Changelog
---------

[](#changelog)

To keep track, please refer to [CHANGELOG.md](https://github.com/Onramplab/laravel-auditing-log/blob/master/CHANGELOG.md).

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

[](#contributing)

1. Fork it.
2. Create your feature branch (git checkout -b my-new-feature).
3. Make your changes.
4. Run the tests, adding new ones for your own code if necessary (phpunit).
5. Commit your changes (git commit -am 'Added some feature').
6. Push to the branch (git push origin my-new-feature).
7. Create new pull request.

Also please refer to [CONTRIBUTION.md](https://github.com/Onramplab/laravel-auditing-log/blob/master/CONTRIBUTION.md).

License
-------

[](#license)

Please refer to [LICENSE](https://github.com/Onramplab/laravel-auditing-log/blob/master/LICENSE).

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

3

Last Release

1145d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bbca07d652fcb7978dab39dde32df72ff90e7645cd4e51be87f7454853d510a7?d=identicon)[onramplab](/maintainers/onramplab)

---

Top Contributors

[![FishChen1202](https://avatars.githubusercontent.com/u/84300529?v=4)](https://github.com/FishChen1202 "FishChen1202 (18 commits)")

---

Tags

loglaravelpackagelaravel-packageAuditauditinglaravel auditlaravel auditing

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/onramplab-laravel-auditing-log/health.svg)

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

###  Alternatives

[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[muhammadsadeeq/laravel-activitylog-ui

A beautiful, modern UI for Spatie's Activity Log with advanced filtering, analytics, and real-time features.

17510.1k](/packages/muhammadsadeeq-laravel-activitylog-ui)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[msonowal/laravel-auditor

A simple mongo activity logger to record various events of your laravel application

1030.2k1](/packages/msonowal-laravel-auditor)

PHPackages © 2026

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