spatie/laravel-activitylog
A very simple activity logger to monitor the users of your website or application
5.1.0
58M downloads/mo
#357 most downloaded on Packagist
spatie/laravel-activitylog
What this package is like to depend on
Last release 11 days ago
12 Aug 2026
Release timing varies
gaps range from 3 weeks to 1.1 years
Nearly every release is documented
notes for 122 of 126 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
128 releases · first in 2016
7 releases in the last 12 months
see the full history below
Release timeline
128 releases · Jun 2016 to Aug 2026Releases
latest 60 of 128-
5.1.012 Aug 2026Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #1454
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #1457
- Optimize migration snippet to target only affected rows using JSON queries by @msonowal in #1455
- Bump actions/checkout from 3 to 7 by @dependabot[bot] in #1462
- Bump stefanzweifel/git-auto-commit-action from 5.2.0 to 7.2.0 by @dependabot[bot] in #1463
- Fix outdated docs subdomain links in requirements by @lazerg in #1466
- Fix composer.json homepage to point at this repository by @ademola-emmanuel in #1467
- Update pestphp/pest requirement from ^4.0 to ^5.0 by @dependabot[bot] in #1468
- Add BackedEnum support for log name by @alexanderkroneis in #1461
New Contributors
- @msonowal made their first contribution in #1455
- @lazerg made their first contribution in #1466
- @ademola-emmanuel made their first contribution in #1467
- @alexanderkroneis made their first contribution in #1461
Full Changelog: 5.0.0...5.1.0
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1454
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1457
- Optimize migration snippet to target only affected rows using JSON queries by @msonowal in https://github.com/spatie/laravel-activitylog/pull/1455
- Bump actions/checkout from 3 to 7 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1462
- Bump stefanzweifel/git-auto-commit-action from 5.2.0 to 7.2.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1463
- Fix outdated docs subdomain links in requirements by @lazerg in https://github.com/spatie/laravel-activitylog/pull/1466
- Fix composer.json homepage to point at this repository by @ademola-emmanuel in https://github.com/spatie/laravel-activitylog/pull/1467
- Update pestphp/pest requirement from ^4.0 to ^5.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1468
- Add BackedEnum support for log name by @alexanderkroneis in https://github.com/spatie/laravel-activitylog/pull/1461
New Contributors
- @msonowal made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1455
- @lazerg made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1466
- @ademola-emmanuel made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1467
- @alexanderkroneis made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1461
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/5.0.0...5.1.0
-
5.0.025 Mar 2026Release notes
Open source →What's Changed
- v5: PHP 8.4+, Laravel 11+, modernized API by @freekmurze in #1452
Full Changelog: 4.12.3...5.0.0
Release notes
Open source →What's Changed
- v5: PHP 8.4+, Laravel 11+, modernized API by @freekmurze in https://github.com/spatie/laravel-activitylog/pull/1452
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.12.3...5.0.0
-
4.12.324 Mar 2026Release notes
Open source →What's Changed
- Fix LogOptions closure preventing model serialization in queued listeners (#1453) by @morloderex
Release notes
Open source →What's Changed
- Fix LogOptions closure preventing model serialization in queued listeners (#1453) by @morloderex
-
4.12.224 Mar 2026Release notes
Open source →What's Changed
- Use try/finally in withinBatch to close batch when callback throws (#1449) by @isaackaara
Release notes
Open source →What's Changed
- Use try/finally in withinBatch to close batch when callback throws (#1449) by @isaackaara
-
4.12.122 Feb 2026Release notes
Open source →What's Changed
- Bump actions/stale from 9.1.0 to 10.2.0 by @dependabot[bot] in #1446
- Fix activitylog cleanup to require integer days input by @sandeep728 in #1448
New Contributors
- @sandeep728 made their first contribution in #1448
Full Changelog: 4.12.0...4.12.1
Release notes
Open source →What's Changed
- Bump actions/stale from 9.1.0 to 10.2.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1446
- Fix activitylog cleanup to require integer days input by @sandeep728 in https://github.com/spatie/laravel-activitylog/pull/1448
New Contributors
- @sandeep728 made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1448
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.12.0...4.12.1
-
4.12.021 Feb 2026 -
4.11.031 Jan 2026Release notes
Open source →What's Changed
- Update issue template by @AlexVanderbist in #1410
- Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in #1437
- Fix issue where activity is
nullby @rojtjo in #1439 - fix logUnguarded() to respect Model::unguard() by @freekmurze in #1444
- check for empty logs after pipeline runs by @freekmurze in #1443
- fix subject() throwing exception for non-SoftDeletes models by @freekmurze in #1442
- fix tapActivity being called twice by @freekmurze in #1441
New Contributors
Full Changelog: 4.10.2...4.11.0
Release notes
Open source →What's Changed
- Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-activitylog/pull/1410
- Bump dependabot/fetch-metadata from 2.4.0 to 2.5.0 by @dependabot[bot] in https://github.com/spatie/laravel-activitylog/pull/1437
- Fix issue where activity is
nullby @rojtjo in https://github.com/spatie/laravel-activitylog/pull/1439 - fix logUnguarded() to respect Model::unguard() by @freekmurze in https://github.com/spatie/laravel-activitylog/pull/1444
- check for empty logs after pipeline runs by @freekmurze in https://github.com/spatie/laravel-activitylog/pull/1443
- fix subject() throwing exception for non-SoftDeletes models by @freekmurze in https://github.com/spatie/laravel-activitylog/pull/1442
- fix tapActivity being called twice by @freekmurze in https://github.com/spatie/laravel-activitylog/pull/1441
New Contributors
- @rojtjo made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1439
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.2...4.11.0
-
4.10.215 Jun 2025Release notes
Open source →What's Changed
- Update README.md by @alisalehi1380 in #1380
- Bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2.0 by @dependabot in #1385
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in #1392
New Contributors
- @alisalehi1380 made their first contribution in #1380
Full Changelog: 4.10.1...4.10.2
Release notes
Open source →What's Changed
- Update README.md by @alisalehi1380 in https://github.com/spatie/laravel-activitylog/pull/1380
- Bump stefanzweifel/git-auto-commit-action from 5.1.0 to 5.2.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1385
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1392
New Contributors
- @alisalehi1380 made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1380
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.1...4.10.2
-
4.10.110 Feb 2025Release notes
Open source →Release notes
Open source →What's Changed
- Laravel 12.x Support by @erikn69 in https://github.com/spatie/laravel-activitylog/pull/1370
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.0...4.10.1
-
4.10.010 Feb 2025Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 5.0.1 to 5.1.0 by @dependabot in #1365
- Bump actions/stale from 9.0.0 to 9.1.0 by @dependabot in #1367
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #1368
- Activity Facade by @stevebauman in #1372
Full Changelog: 4.9.1...4.10.0
Release notes
Open source →What's Changed
- Bump stefanzweifel/git-auto-commit-action from 5.0.1 to 5.1.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1365
- Bump actions/stale from 9.0.0 to 9.1.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1367
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1368
- Activity Facade by @stevebauman in https://github.com/spatie/laravel-activitylog/pull/1372
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.9.1...4.10.0
-
4.9.118 Nov 2024Release notes
Open source →What's Changed
- Update using-multiple-logs.md by @tobischulz in https://github.com/spatie/laravel-activitylog/pull/1345
- fix: php 8.4 deprecation warnings by @ashleyshenton in https://github.com/spatie/laravel-activitylog/pull/1351
New Contributors
- @tobischulz made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1345
- @ashleyshenton made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1351
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.9.0...4.9.1
-
4.9.018 Oct 2024Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1298
- Bump stefanzweifel/git-auto-commit-action from 4.15.4 to 5.0.1 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1293
- Corrected the link to the event logging example by @makaronnik in https://github.com/spatie/laravel-activitylog/pull/1300
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1315
- Update batch-logs.md by @jesseschutt in https://github.com/spatie/laravel-activitylog/pull/1320
- Adjust PHPDoc type for causer and subject by @gtg-bantonio in https://github.com/spatie/laravel-activitylog/pull/1321
- Add missing return type by @dwightwatson in https://github.com/spatie/laravel-activitylog/pull/1330
- Possibility to define table name in environment file by @edwinvdpol in https://github.com/spatie/laravel-activitylog/pull/1334
New Contributors
- @makaronnik made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1300
- @jesseschutt made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1320
- @gtg-bantonio made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1321
- @edwinvdpol made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1334
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.8.0...4.9.0
-
4.8.008 Mar 2024Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1183
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1195
- Bump dependabot/fetch-metadata from 1.5.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1196
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1205
- Add a missing apostrophe by @dwightwatson in https://github.com/spatie/laravel-activitylog/pull/1249
- Bump actions/stale from 6.0.1 to 9.0.0 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1250
- Bump actions/cache from 3 to 4 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1263
- Add more detail to manipulating changes by @tonypartridge in https://github.com/spatie/laravel-activitylog/pull/1268
- feat!: add laravel 11 support by @StevePorter92 in https://github.com/spatie/laravel-activitylog/pull/1276
New Contributors
- @dwightwatson made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1249
- @tonypartridge made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1268
- @StevePorter92 made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1276
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.3...4.8.0
-
4.7.325 Jan 2023Release notes
Open source →What's Changed
- Add Dependabot Automation by @patinthehat in https://github.com/spatie/laravel-activitylog/pull/1128
- Add PHP 8.2 Support by @patinthehat in https://github.com/spatie/laravel-activitylog/pull/1129
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1156
- Fix tests badge by @erikn69 in https://github.com/spatie/laravel-activitylog/pull/1153
- Laravel 10.x support by @erikn69 in https://github.com/spatie/laravel-activitylog/pull/1152
- Fix for replacePlaceholders with ending dot by @Stefan-Dressler in https://github.com/spatie/laravel-activitylog/pull/1154
New Contributors
- @patinthehat made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1128
- @erikn69 made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1153
- @Stefan-Dressler made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1154
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.2...4.7.3
-
4.7.214 Nov 2022Release notes
Open source →What's Changed
- Bump actions/checkout from 2 to 3 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1117
- Bump actions/stale from 2.0.0 to 6.0.1 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1118
- Bump stefanzweifel/git-auto-commit-action from 4.0.0 to 4.15.4 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1119
- Add missing properties to Activity model by @AndreasHerss in https://github.com/spatie/laravel-activitylog/pull/1101
- Bump actions/cache from 2 to 3 by @dependabot in https://github.com/spatie/laravel-activitylog/pull/1120
- Fix enum casting by @Gummibeer in https://github.com/spatie/laravel-activitylog/pull/1121
New Contributors
- @dependabot made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1117
- @AndreasHerss made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1101
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.1...4.7.2
-
4.7.111 Nov 2022Release notes
Open source →What's Changed
- Fix nullable custom properties in PHP 8.0 by @stevebauman in https://github.com/spatie/laravel-activitylog/pull/1115
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.0...4.7.1
-
4.7.010 Nov 2022Release notes
Open source →What's Changed
- Fix indentation by @mouadziani in https://github.com/spatie/laravel-activitylog/pull/1092
- Support non backed enum & php 8.1 by @pemudakoding in https://github.com/spatie/laravel-activitylog/pull/1110
New Contributors
- @mouadziani made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1092
- @pemudakoding made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1110
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.6.0...4.7.0
-
4.6.022 Sep 2022Release notes
Open source →What's Changed
- Add a default value to
getExtraProperty()by @grantholle in https://github.com/spatie/laravel-activitylog/pull/1090
New Contributors
- @grantholle made their first contribution in https://github.com/spatie/laravel-activitylog/pull/1090
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.3...4.6.0
- Add a default value to
-
4.5.331 May 2022 -
4.5.221 Apr 2022 -
4.5.107 Apr 2022Release notes
Open source →Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.0...4.5.1
-
4.5.007 Apr 2022Nothing published for this version
-
4.4.307 Apr 2022Nothing published for this version
-
4.4.207 Mar 2022 -
4.4.104 Mar 2022 -
4.4.012 Jan 2022 -
4.3.120 Oct 2021 -
4.3.020 Oct 2021Release notes
Open source →- Add
\Spatie\Activitylog\LogOptions::useAttributeRawValues()to log uncasted attributes - #972
- Add
-
4.2.006 Oct 2021 -
4.1.123 Jul 2021 -
4.1.023 Jul 2021Release notes
Open source →- Add
\Spatie\Activitylog\LogBatch::setBatch(string $uuid)method to keep batches across requests or multiple jobs - #918
- Add
-
4.0.004 May 2021Release notes
Open source →PR: #787 Special thanks to Ahmed Nagi.
-
Drop Laravel 6 and 7 support.
-
Drop PHP 7.x support.
-
Add
LogOptionsconfiguration 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
CauserResolverto define causer for current runtime #582.
-
-
4.0.0-rc.223 Mar 2020 pre-releaseNothing published for this version
-
4.0.0-rc.123 Mar 2020 pre-releaseNothing published for this version
-
3.17.002 Mar 2021 -
3.16.103 Nov 2020 -
3.16.016 Sep 2020 -
3.15.014 Sep 2020 -
3.14.309 Sep 2020 -
3.14.219 May 2020 -
3.14.123 Mar 2020 -
3.14.023 Mar 2020Release notes
Open source →Please use
v3.14.1instead - this release is breaking because of the new column. There is also av4.0.0-rc.1release that equals to this one.- add
\Spatie\Activitylog\ActivityLogger::event()method and column #702
- add
-
3.13.013 Mar 2020 -
3.12.013 Mar 2020 -
3.11.413 Mar 2020 -
3.11.310 Mar 2020 -
3.11.210 Mar 2020 -
3.11.103 Mar 2020 -
3.11.002 Mar 2020 -
3.10.022 Feb 2020 -
3.9.205 Feb 2020 -
3.9.115 Oct 2019 -
3.9.006 Oct 2019 -
3.8.004 Sep 2019Release notes
Open source →- add support for Laravel 6
- change fields with value
nullto be strictly compared when logging dirty fields #453 - add composite indexes for subject and causer to migration
-
3.7.228 Aug 2019 -
3.7.124 Jul 2019 -
3.7.023 Jul 2019Release notes
Open source →- add database connection to configuration
activitylog.database_connectionandACTIVITY_LOGGER_DB_CONNECTIONenv var #568
- add database connection to configuration
-
3.6.323 Jul 2019 -
3.6.216 Jul 2019 -
3.6.129 May 2019