Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Activitylog Laravel Package

spatie/laravel-activitylog

Log user and model activity in Laravel with a simple API. Automatically record Eloquent events, track subjects and causers, attach custom properties, and query everything via the Activity model. Stores logs in the activity_log table.

View on GitHub
Deep Wiki
Context7
4.12.3

What's Changed

  • Fix LogOptions closure preventing model serialization in queued listeners (#1453) by @morloderex
4.12.2

What's Changed

  • Use try/finally in withinBatch to close batch when callback throws (#1449) by @isaackaara
4.12.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.12.0...4.12.1

4.12.0

What's Changed

  • Add Laravel 13 support
4.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.2...4.11.0

4.10.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.1...4.10.2

4.10.0

What's Changed

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.9.1...4.10.0

4.9.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.8.0...4.9.0

4.8.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.3...4.8.0

4.7.2
4.6.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.3...4.6.0

4.5.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.2...4.5.3

4.5.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.1...4.5.2

4.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.4.3...4.5.0

4.4.3

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.4.2...4.4.3

4.4.2
4.4.0
  • allow Laravel 9
4.3.1
  • Fix hardcoded deleted_at column usage - #965
4.3.0
  • Add \Spatie\Activitylog\LogOptions::useAttributeRawValues() to log uncasted attributes - #972
4.2.0
  • Add immutable_date cast support - #969
4.1.1
  • Fix migration stub names - #914
4.1.0
  • Add \Spatie\Activitylog\LogBatch::setBatch(string $uuid) method to keep batches across requests or multiple jobs - #918
4.0.0

PR: #787
Special thanks to Ahmed Nagi.

  • Drop Laravel 6 and 7 support.
  • Drop PHP 7.x support.
  • Add LogOptions configuration object to replace all configuration properties.
  • Add ability to batch activity logs #560
  • Add Pipeline to customize logged changes data.
    • Deep diff array/JSON sub-keys and respect for only-dirty, no-empty ... #692 using new pipeline. See implementation in the tests.
  • Implement a CauserResolver to define causer for current runtime #582.
3.17.0
  • drop PHP 7.2 support - #855
3.16.1
  • add PHP8 support - #806
3.16.0
  • use nullableMorphs() in default migration - #707
  • add support for snake and camel cased related model attribute logging - #721
3.15.0
  • Add multiple/chained relation attribute logging support - #784
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport