---
title: "Log User Activity in Your Laravel App with Activity Log v5"
url: https://daily.dev/posts/log-user-activity-in-your-laravel-app-with-activity-log-v5-vyesrvpgn
source_url: https://laravel-news.com/log-user-activity-in-your-laravel-app-with-activity-log-v5
type: article
source: "Laravel News"
published: 2026-04-03T13:13:30.760Z
updated: 2026-08-24T07:00:26.490Z
tags: ["php", "laravel"]
reading_time: 3
upvotes: 33
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Log User Activity in Your Laravel App with Activity Log v5

**[Laravel News](https://daily.dev/sources/ln)** · 3 min read · 33 upvotes · 1 comments

## Summary

Laravel Activitylog v5 by Spatie has been released with PHP 8.4 and Laravel 12 as minimum requirements. Key additions include a unified HasActivity trait replacing the separate LogsActivity and CausesActivity traits, an activity buffering feature for bulk inserts (enabled via env or config), and a new defaultCauser() API. Model change tracking now uses a dedicated attribute_changes column instead of the properties JSON column. Several methods and config keys were renamed for consistency, and the batch/pipe systems were removed entirely.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/log-user-activity-in-your-laravel-app-with-activity-log-v5>

---

Tags: [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/log-user-activity-in-your-laravel-app-with-activity-log-v5-vyesrvpgn)
