├── .github └── workflows │ ├── coding-standards.yml │ └── tests.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── composer.json ├── config └── audit-logger.php ├── phpstan.neon ├── phpunit.xml ├── pint.json └── src ├── AuditLoggerServiceProvider.php ├── Console └── Commands │ └── CleanupAuditLogsCommand.php ├── Contracts ├── AuditDriverInterface.php ├── AuditLogInterface.php ├── AuditableInterface.php ├── CauserResolverInterface.php ├── RetentionServiceInterface.php └── RetentionStrategyInterface.php ├── DTOs ├── AuditLog.php ├── RetentionConfig.php └── RetentionResult.php ├── Drivers ├── MySQLDriver.php └── PostgreSQLDriver.php ├── Facades └── AuditLogger.php ├── Jobs ├── ProcessAuditLogJob.php ├── ProcessAuditLogSyncJob.php └── RetentionCleanupJob.php ├── Models └── EloquentAuditLog.php ├── Services ├── AuditBuilder.php ├── AuditLogger.php ├── CauserResolver.php ├── Retention │ ├── AnonymizeRetentionStrategy.php │ ├── ArchiveRetentionStrategy.php │ └── DeleteRetentionStrategy.php └── RetentionService.php └── Traits └── Auditable.php /.github/workflows/coding-standards.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/.github/workflows/coding-standards.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/composer.json -------------------------------------------------------------------------------- /config/audit-logger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/config/audit-logger.php -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/phpunit.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- 1 | { 2 | "preset": "laravel" 3 | } 4 | -------------------------------------------------------------------------------- /src/AuditLoggerServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/AuditLoggerServiceProvider.php -------------------------------------------------------------------------------- /src/Console/Commands/CleanupAuditLogsCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Console/Commands/CleanupAuditLogsCommand.php -------------------------------------------------------------------------------- /src/Contracts/AuditDriverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/AuditDriverInterface.php -------------------------------------------------------------------------------- /src/Contracts/AuditLogInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/AuditLogInterface.php -------------------------------------------------------------------------------- /src/Contracts/AuditableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/AuditableInterface.php -------------------------------------------------------------------------------- /src/Contracts/CauserResolverInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/CauserResolverInterface.php -------------------------------------------------------------------------------- /src/Contracts/RetentionServiceInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/RetentionServiceInterface.php -------------------------------------------------------------------------------- /src/Contracts/RetentionStrategyInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Contracts/RetentionStrategyInterface.php -------------------------------------------------------------------------------- /src/DTOs/AuditLog.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/DTOs/AuditLog.php -------------------------------------------------------------------------------- /src/DTOs/RetentionConfig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/DTOs/RetentionConfig.php -------------------------------------------------------------------------------- /src/DTOs/RetentionResult.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/DTOs/RetentionResult.php -------------------------------------------------------------------------------- /src/Drivers/MySQLDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Drivers/MySQLDriver.php -------------------------------------------------------------------------------- /src/Drivers/PostgreSQLDriver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Drivers/PostgreSQLDriver.php -------------------------------------------------------------------------------- /src/Facades/AuditLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Facades/AuditLogger.php -------------------------------------------------------------------------------- /src/Jobs/ProcessAuditLogJob.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Jobs/ProcessAuditLogJob.php -------------------------------------------------------------------------------- /src/Jobs/ProcessAuditLogSyncJob.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Jobs/ProcessAuditLogSyncJob.php -------------------------------------------------------------------------------- /src/Jobs/RetentionCleanupJob.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Jobs/RetentionCleanupJob.php -------------------------------------------------------------------------------- /src/Models/EloquentAuditLog.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Models/EloquentAuditLog.php -------------------------------------------------------------------------------- /src/Services/AuditBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/AuditBuilder.php -------------------------------------------------------------------------------- /src/Services/AuditLogger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/AuditLogger.php -------------------------------------------------------------------------------- /src/Services/CauserResolver.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/CauserResolver.php -------------------------------------------------------------------------------- /src/Services/Retention/AnonymizeRetentionStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/Retention/AnonymizeRetentionStrategy.php -------------------------------------------------------------------------------- /src/Services/Retention/ArchiveRetentionStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/Retention/ArchiveRetentionStrategy.php -------------------------------------------------------------------------------- /src/Services/Retention/DeleteRetentionStrategy.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/Retention/DeleteRetentionStrategy.php -------------------------------------------------------------------------------- /src/Services/RetentionService.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Services/RetentionService.php -------------------------------------------------------------------------------- /src/Traits/Auditable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iamfarhad/laravel-audit-log/HEAD/src/Traits/Auditable.php --------------------------------------------------------------------------------