Installation
Install Laravel Audit Logs and publish its configuration and migration.
You’re reading the docs for v1. The current version is v2.
Go to v2 →On this page
Requirements
Laravel Audit Logs requires PHP 8.3 or later and Laravel 12 or 13.
Install the package
Install the package with Composer:
bash
composer require hosmelq/laravel-audit-logsRun the installer to publish the configuration and migration:
bash
php artisan audit-log:installThe installer can run the migrations for you. If you skip that prompt, run them manually:
bash
php artisan migratePublish manually
To publish each asset without the installer, run:
bash
php artisan vendor:publish --tag="audit-log-config"
php artisan vendor:publish --tag="audit-log-migrations"Continue with configuration, then record your first audit log.