Download the PHP package azaharizaman/nexus-audit-logger without Composer
On this page you can find all versions of the php package azaharizaman/nexus-audit-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download azaharizaman/nexus-audit-logger
More information about azaharizaman/nexus-audit-logger
Files in azaharizaman/nexus-audit-logger
Download azaharizaman/nexus-audit-logger
More information about azaharizaman/nexus-audit-logger
Files in azaharizaman/nexus-audit-logger
Vendor azaharizaman
Package nexus-audit-logger
Short Description Framework-agnostic audit logging package for tracking CRUD operations and system activities
License MIT
Package nexus-audit-logger
Short Description Framework-agnostic audit logging package for tracking CRUD operations and system activities
License MIT
Please rate this library. Is it a good library?
Informations about the package nexus-audit-logger
Nexus AuditLogger
A framework-agnostic audit logging package for tracking CRUD operations, system activities, and user actions with comprehensive retention policies and filtering capabilities.
Features
- Automatic CRUD Tracking: Capture create, read, update, delete operations
- Before/After State: Record model state changes for updates
- User Context: Track who performed actions with IP, user agent, timestamp
- Audit Levels: Low (1), Medium (2), High (3), Critical (4) for risk-based filtering
- Batch Operations: Group related activities with UUID
- Retention Policies: Configurable retention with automatic purging
- Tenant Isolation: Multi-tenant support with data isolation
- Search & Filter: Full-text search, date range, entity type filtering
- Export: CSV, JSON, PDF export capabilities
- Sensitive Data Masking: Automatic masking of passwords, tokens, secrets
- Asynchronous Logging: Queue-based logging to prevent performance impact
- Event-Driven: Notifications for high-value activities
Installation
Architecture
This package follows the Nexus architecture pattern:
- Pure PHP: No Laravel dependencies in core services
- Contract-Driven: All persistence via interfaces
- Framework-Agnostic: Can be used in any PHP application
Package Structure
Usage
Define Repository Implementation
In your application layer (e.g., Laravel), implement the repository interface:
Log Activities
Search Logs
Export Logs
Requirements
See REQUIREMENTS.csv for complete list of architectural, business, and functional requirements.
Key Requirements
- ARC-AUD-0001: Framework-agnostic with no Laravel dependencies
- ARC-AUD-0002: All data structures via interfaces
- BUS-AUD-0145: Logs must include log_name, description, timestamp
- BUS-AUD-0146: Audit levels: 1 (Low), 2 (Medium), 3 (High), 4 (Critical)
- BUS-AUD-0147: Default retention 90 days
- FUN-AUD-0185: Automatic CRUD capture
- FUN-AUD-0192: Automatic sensitive data masking
Implementation in Atomy
To use in Laravel (Atomy app):
- Create migration for
audit_logstable - Create Eloquent model implementing
AuditLogInterface - Create repository implementing
AuditLogRepositoryInterface - Bind contracts in service provider
- Create audit trait for models
- Register API endpoints
See apps/Atomy/ for implementation examples.
Documentation
Quick Links
- Getting Started Guide - Installation and basic configuration
- API Reference - Complete API documentation
- Integration Guide - Laravel and Symfony integration examples
- Examples - Runnable code examples
Package Documentation
- Requirements - Comprehensive requirements traceability
- Implementation Summary - Package structure and metrics
- Test Suite Summary - Test coverage and strategy
- Valuation Matrix - Package valuation and ROI analysis
Additional Resources
- Package Overview: User-friendly audit logging for CRUD tracking and compliance
- Key Differentiator: Search/export/retention focus vs Nexus\Audit's cryptographic verification
- Total Files: 14 PHP files, 1,363 lines of code
- Test Coverage: 58 tests planned (unit, integration, feature)
- Package Value: $65,000 (158% ROI, compliance infrastructure)
Testing
License
MIT
All versions of nexus-audit-logger with dependencies
PHP Build Version
Package Version
The package azaharizaman/nexus-audit-logger contains the following files
Loading the files please wait ...