PHPackages                             cbytedigital/nen7513-audit-logging - 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. cbytedigital/nen7513-audit-logging

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

cbytedigital/nen7513-audit-logging
==================================

NEN 7513-compliant Laravel package for audit logging

0525PHP

Since Sep 10Pushed 8mo agoCompare

[ Source](https://github.com/cbytedigital/laravel-nen7513-audit-logging)[ Packagist](https://packagist.org/packages/cbytedigital/nen7513-audit-logging)[ RSS](/packages/cbytedigital-nen7513-audit-logging/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel NEN 7513 Audit Logging
==============================

[](#laravel-nen-7513-audit-logging)

[![PHP from Packagist](https://camo.githubusercontent.com/6820723cafd5ecdb0bdca2bfecc32270e83977a8c72b43d9e15d7a0fb120d06e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f63627974656469676974616c2f6e656e373531332d61756469742d6c6f6767696e672e737667)](https://packagist.org/packages/cbytedigital/nen7513-audit-logging)[![Latest Version on Packagist](https://camo.githubusercontent.com/bc6b3560a77d2e52eda65bb68d6c0d21868460ba2bcf1a75b5a967320234965e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63627974656469676974616c2f6e656e373531332d61756469742d6c6f6767696e672e737667)](https://packagist.org/packages/cbytedigital/nen7513-audit-logging)[![Software License](https://camo.githubusercontent.com/d835583c7b78e022ac322a7706d09126c499b45902ba41e8e51e5e0fe1f3ebdd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63627974656469676974616c2f6e656e373531332d61756469742d6c6f6767696e672e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/0dc3a2a2aebe634eddc70f8aa3071700ba1038a3c484b4152870bf7b01ff9c01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63627974656469676974616c2f6e656e373531332d61756469742d6c6f6767696e672e737667)](https://packagist.org/packages/cbytedigital/nen7513-audit-logging)

A comprehensive **NEN 7513-compliant** Laravel package for audit logging, designed specifically for healthcare applications and other environments requiring detailed activity tracking and compliance with Dutch healthcare standards.

This package automatically tracks and logs all user interactions with your Laravel application's data, capturing who, what, when, where, why, and how for complete audit traceability.

Key Features
------------

[](#key-features)

- **NEN 7513 Compliant** - Meets Dutch healthcare logging standards
- **Automatic Logging** - Zero-configuration CRUD operation tracking
- **Flexible API** - Multiple ways to log: automatic, facade, or trait methods
- **Rich CREATE Logging** - Configurable full model data logging on creation
- **Parent-Child Logging** - Child model changes automatically log on parent with full context
- **Data Privacy** - Automatic masking of sensitive fields
- **Smart Actor Detection** - Automatically identifies users, guests, or system processes
- **Retention Management** - Configurable cleanup with NEN 7513 compliance
- **Advanced Querying** - Powerful filtering and search capabilities
- **Web Dashboard** - Beautiful, responsive audit log viewer with export functionality

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

[](#installation)

Use composer to install this package:

```
composer require cbytedigital/nen7513-audit-logging
```

Publish and run the migration:

```
php artisan vendor:publish --tag=audit-log
php artisan migrate
```

Quick Start
-----------

[](#quick-start)

Add the `Auditable` trait to any model you want to track:

```
