PHP Package: spatie/laravel-activitylog

Laravel-ActivityLog is a powerful PHP library for tracking user activities in Laravel applications, providing easy audit trail functionality.

Current Version: 4.10.2
Last Updated: 2025-06-15
PHP Requirement: ^8.1
Dependencies:
illuminate/support
spatie/laravel-model-activity
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel-ActivityLog is a comprehensive activity logging library designed for Laravel, offering detailed tracking of user actions to enhance security and monitoring capabilities. The package facilitates seamless management of logs, making it easier to trace user activities and detect unauthorized actions, contributing to improved application security and accountability.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.10.2

Download Download v4.10.2

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-activitylog/4.10.2/loader.php';
require_once 'libs/illuminate/support/12.33.0/loader.php';
require_once 'libs/spatie/laravel-model-activity/{lib_version}/loader.php';

use Spatie\Activitylog\ActivitylogServiceProvider;
use Illuminate\Support\ServiceProvider;

$obj = new ActivitylogServiceProvider();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.