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.

3m read timeFrom laravel-news.com
Post cover image
Table of contents
# HasActivity Trait# Activity Buffering# Default Causer# attribute_changes Column# Breaking Changes
1 Comment

Sort: