From 81839c720285c96c38c2a00442d60d1d88a12259 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 23 May 2026 17:20:57 +0200 Subject: [PATCH] chore: update doctrine/dbal to v4, activitylog to v5, sluggable to v4, roadrunner-http to v4 --- app/Models/User.php | 4 +- app/Models/User/Ban.php | 4 +- app/Models/Wordfilter.php | 4 +- composer.json | 8 +- composer.lock | 389 +++++++++++++++----------------------- config/activitylog.php | 45 +++-- 6 files changed, 198 insertions(+), 256 deletions(-) diff --git a/app/Models/User.php b/app/Models/User.php index 19e7c16..90760f6 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -43,8 +43,8 @@ use Illuminate\Support\Str; use Laravel\Fortify\TwoFactorAuthenticatable; use Laravel\Fortify\TwoFactorAuthenticationProvider; use Laravel\Sanctum\HasApiTokens; -use Spatie\Activitylog\LogOptions; -use Spatie\Activitylog\Traits\LogsActivity; +use Spatie\Activitylog\Models\Concerns\LogsActivity; +use Spatie\Activitylog\Support\LogOptions; /** * @method static \Illuminate\Database\Eloquent\Builder|User query() diff --git a/app/Models/User/Ban.php b/app/Models/User/Ban.php index fe8f6be..19a4d3d 100755 --- a/app/Models/User/Ban.php +++ b/app/Models/User/Ban.php @@ -7,8 +7,8 @@ use App\Models\User; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\BelongsTo; -use Spatie\Activitylog\LogOptions; -use Spatie\Activitylog\Traits\LogsActivity; +use Spatie\Activitylog\Models\Concerns\LogsActivity; +use Spatie\Activitylog\Support\LogOptions; /** * @method static \Illuminate\Database\Eloquent\Builder|Ban where($column, $operator = null, $value = null) diff --git a/app/Models/Wordfilter.php b/app/Models/Wordfilter.php index dc785e4..6121717 100755 --- a/app/Models/Wordfilter.php +++ b/app/Models/Wordfilter.php @@ -6,8 +6,8 @@ namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; -use Spatie\Activitylog\LogOptions; -use Spatie\Activitylog\Traits\LogsActivity; +use Spatie\Activitylog\Models\Concerns\LogsActivity; +use Spatie\Activitylog\Support\LogOptions; class Wordfilter extends Model { diff --git a/composer.json b/composer.json index 2b51535..6bfc8dd 100755 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "require": { "php": "^8.1|^8.2|^8.3|^8.4|^8.5", "ext-sockets": "*", - "doctrine/dbal": "^3.5", + "doctrine/dbal": "^4.0", "filament/filament": "^5.0", "flowframe/laravel-trend": "0.4.99", "guzzlehttp/guzzle": "^7.2", @@ -26,10 +26,10 @@ "opcodesio/log-viewer": "^3.0", "qirolab/laravel-themer": "dev-master", "ryangjchandler/laravel-cloudflare-turnstile": "^3.0", - "spatie/laravel-activitylog": "^4.8", - "spatie/laravel-sluggable": "^3.7", + "spatie/laravel-activitylog": "^5.0", + "spatie/laravel-sluggable": "^4.0", "spiral/roadrunner-cli": "^2.6.0", - "spiral/roadrunner-http": "^3.3.0", + "spiral/roadrunner-http": "^4.0", "srmklive/paypal": "3.0.99", "stevebauman/purify": "^6.0" }, diff --git a/composer.lock b/composer.lock index 4839b23..1d20e90 100755 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "2ecc5cc6d0e4bc388d40cb5ca76ab1f3", + "content-hash": "76a69ef07ca5936f1d9c2d39fe790e6b", "packages": [ { "name": "bacon/bacon-qr-code", @@ -273,26 +273,26 @@ }, { "name": "carbonphp/carbon-doctrine-types", - "version": "2.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/CarbonPHP/carbon-doctrine-types.git", - "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb" + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", - "reference": "99f76ffa36cce3b70a4a6abce41dba15ca2e84cb", + "url": "https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/18ba5ddfec8976260ead6e866180bd5d2f71aa1d", + "reference": "18ba5ddfec8976260ead6e866180bd5d2f71aa1d", "shasum": "" }, "require": { - "php": "^7.4 || ^8.0" + "php": "^8.1" }, "conflict": { - "doctrine/dbal": "<3.7.0 || >=4.0.0" + "doctrine/dbal": "<4.0.0 || >=5.0.0" }, "require-dev": { - "doctrine/dbal": "^3.7.0", + "doctrine/dbal": "^4.0.0", "nesbot/carbon": "^2.71.0 || ^3.0.0", "phpunit/phpunit": "^10.3" }, @@ -322,7 +322,7 @@ ], "support": { "issues": "https://github.com/CarbonPHP/carbon-doctrine-types/issues", - "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/2.1.0" + "source": "https://github.com/CarbonPHP/carbon-doctrine-types/tree/3.2.0" }, "funding": [ { @@ -338,7 +338,7 @@ "type": "tidelift" } ], - "time": "2023-12-11T17:09:12+00:00" + "time": "2024-02-09T16:56:22+00:00" }, { "name": "chillerlan/php-qrcode", @@ -811,48 +811,40 @@ }, { "name": "doctrine/dbal", - "version": "3.10.5", + "version": "4.4.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "95d84866bf3c04b2ddca1df7c049714660959aef" + "reference": "61e730f1658814821a85f2402c945f3883407dec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/95d84866bf3c04b2ddca1df7c049714660959aef", - "reference": "95d84866bf3c04b2ddca1df7c049714660959aef", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/61e730f1658814821a85f2402c945f3883407dec", + "reference": "61e730f1658814821a85f2402c945f3883407dec", "shasum": "" }, "require": { - "composer-runtime-api": "^2", - "doctrine/deprecations": "^0.5.3|^1", - "doctrine/event-manager": "^1|^2", - "php": "^7.4 || ^8.0", + "doctrine/deprecations": "^1.1.5", + "php": "^8.2", "psr/cache": "^1|^2|^3", "psr/log": "^1|^2|^3" }, - "conflict": { - "doctrine/cache": "< 1.11" - }, "require-dev": { - "doctrine/cache": "^1.11|^2.0", "doctrine/coding-standard": "14.0.0", "fig/log-test": "^1", - "jetbrains/phpstorm-stubs": "2023.1", + "jetbrains/phpstorm-stubs": "2023.2", "phpstan/phpstan": "2.1.30", + "phpstan/phpstan-phpunit": "2.0.7", "phpstan/phpstan-strict-rules": "^2", - "phpunit/phpunit": "9.6.34", + "phpunit/phpunit": "11.5.50", "slevomat/coding-standard": "8.27.1", "squizlabs/php_codesniffer": "4.0.1", - "symfony/cache": "^5.4|^6.0|^7.0|^8.0", - "symfony/console": "^4.4|^5.4|^6.0|^7.0|^8.0" + "symfony/cache": "^6.3.8|^7.0|^8.0", + "symfony/console": "^5.4|^6.3|^7.0|^8.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." }, - "bin": [ - "bin/doctrine-dbal" - ], "type": "library", "autoload": { "psr-4": { @@ -905,7 +897,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.10.5" + "source": "https://github.com/doctrine/dbal/tree/4.4.3" }, "funding": [ { @@ -921,7 +913,7 @@ "type": "tidelift" } ], - "time": "2026-02-24T08:03:57+00:00" + "time": "2026-03-20T08:52:12+00:00" }, { "name": "doctrine/deprecations", @@ -971,97 +963,6 @@ }, "time": "2026-02-07T07:09:04+00:00" }, - { - "name": "doctrine/event-manager", - "version": "2.1.1", - "source": { - "type": "git", - "url": "https://github.com/doctrine/event-manager.git", - "reference": "dda33921b198841ca8dbad2eaa5d4d34769d18cf" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/dda33921b198841ca8dbad2eaa5d4d34769d18cf", - "reference": "dda33921b198841ca8dbad2eaa5d4d34769d18cf", - "shasum": "" - }, - "require": { - "php": "^8.1" - }, - "conflict": { - "doctrine/common": "<2.9" - }, - "require-dev": { - "doctrine/coding-standard": "^14", - "phpdocumentor/guides-cli": "^1.4", - "phpstan/phpstan": "^2.1.32", - "phpunit/phpunit": "^10.5.58" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "The Doctrine Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", - "homepage": "https://www.doctrine-project.org/projects/event-manager.html", - "keywords": [ - "event", - "event dispatcher", - "event manager", - "event system", - "events" - ], - "support": { - "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/2.1.1" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fevent-manager", - "type": "tidelift" - } - ], - "time": "2026-01-29T07:11:08+00:00" - }, { "name": "doctrine/inflector", "version": "2.1.0", @@ -2119,16 +2020,16 @@ }, { "name": "google/protobuf", - "version": "v5.34.1", + "version": "v5.35.0", "source": { "type": "git", "url": "https://github.com/protocolbuffers/protobuf-php.git", - "reference": "da52fbc6bb574bfa6693ee2c86f9096f7b7f003b" + "reference": "d96ed77c7edaff3cd576a74173aa0b0655c87b1a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/da52fbc6bb574bfa6693ee2c86f9096f7b7f003b", - "reference": "da52fbc6bb574bfa6693ee2c86f9096f7b7f003b", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/d96ed77c7edaff3cd576a74173aa0b0655c87b1a", + "reference": "d96ed77c7edaff3cd576a74173aa0b0655c87b1a", "shasum": "" }, "require": { @@ -2157,9 +2058,9 @@ "proto" ], "support": { - "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.34.1" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v5.35.0" }, - "time": "2026-03-19T20:51:56+00:00" + "time": "2026-05-19T22:13:40+00:00" }, { "name": "graham-campbell/result-type", @@ -2225,16 +2126,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.10.0", + "version": "7.10.4", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4" + "reference": "aec528da477062d3af11f51e6b33402be233b21f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", - "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/aec528da477062d3af11f51e6b33402be233b21f", + "reference": "aec528da477062d3af11f51e6b33402be233b21f", "shasum": "" }, "require": { @@ -2252,8 +2153,9 @@ "bamarni/composer-bin-plugin": "^1.8.2", "ext-curl": "*", "guzzle/client-integration-tests": "3.0.2", + "guzzlehttp/test-server": "^0.3.2", "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "phpunit/phpunit": "^8.5.52 || ^9.6.34", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -2331,7 +2233,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.10.0" + "source": "https://github.com/guzzle/guzzle/tree/7.10.4" }, "funding": [ { @@ -2347,20 +2249,20 @@ "type": "tidelift" } ], - "time": "2025-08-23T22:36:01+00:00" + "time": "2026-05-22T19:00:53+00:00" }, { "name": "guzzlehttp/promises", - "version": "2.3.0", + "version": "2.4.1", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "481557b130ef3790cf82b713667b43030dc9c957" + "reference": "09e8a212562fb1fb6a512c4156ed71525969d6c2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957", - "reference": "481557b130ef3790cf82b713667b43030dc9c957", + "url": "https://api.github.com/repos/guzzle/promises/zipball/09e8a212562fb1fb6a512c4156ed71525969d6c2", + "reference": "09e8a212562fb1fb6a512c4156ed71525969d6c2", "shasum": "" }, "require": { @@ -2368,7 +2270,7 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.44 || ^9.6.25" + "phpunit/phpunit": "^8.5.52 || ^9.6.34" }, "type": "library", "extra": { @@ -2414,7 +2316,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.3.0" + "source": "https://github.com/guzzle/promises/tree/2.4.1" }, "funding": [ { @@ -2430,20 +2332,20 @@ "type": "tidelift" } ], - "time": "2025-08-22T14:34:08+00:00" + "time": "2026-05-20T22:57:30+00:00" }, { "name": "guzzlehttp/psr7", - "version": "2.9.1", + "version": "2.10.1", "source": { "type": "git", "url": "https://github.com/guzzle/psr7.git", - "reference": "3780f78d6f2854cb327944a22c7b0617852ab7e9" + "reference": "73ab136360b5dfd858006eae9795e8fe43c80361" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/3780f78d6f2854cb327944a22c7b0617852ab7e9", - "reference": "3780f78d6f2854cb327944a22c7b0617852ab7e9", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/73ab136360b5dfd858006eae9795e8fe43c80361", + "reference": "73ab136360b5dfd858006eae9795e8fe43c80361", "shasum": "" }, "require": { @@ -2531,7 +2433,7 @@ ], "support": { "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.9.1" + "source": "https://github.com/guzzle/psr7/tree/2.10.1" }, "funding": [ { @@ -2547,7 +2449,7 @@ "type": "tidelift" } ], - "time": "2026-05-19T15:17:22+00:00" + "time": "2026-05-20T09:27:36+00:00" }, { "name": "guzzlehttp/uri-template", @@ -2852,16 +2754,16 @@ }, { "name": "laravel/framework", - "version": "v13.9.0", + "version": "v13.11.2", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "a0c6ad03b380287015287d8d5a0fa2459e2332fd" + "reference": "4148042bf6ee01edd05408f1f66d91b231f85c25" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/a0c6ad03b380287015287d8d5a0fa2459e2332fd", - "reference": "a0c6ad03b380287015287d8d5a0fa2459e2332fd", + "url": "https://api.github.com/repos/laravel/framework/zipball/4148042bf6ee01edd05408f1f66d91b231f85c25", + "reference": "4148042bf6ee01edd05408f1f66d91b231f85c25", "shasum": "" }, "require": { @@ -3072,7 +2974,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2026-05-13T15:38:40+00:00" + "time": "2026-05-20T11:46:02+00:00" }, { "name": "laravel/octane", @@ -7073,29 +6975,31 @@ }, { "name": "spatie/laravel-activitylog", - "version": "4.12.3", + "version": "5.0.0", "source": { "type": "git", "url": "https://github.com/spatie/laravel-activitylog.git", - "reference": "2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0" + "reference": "0e00fe74fd071cc572a045459f6d4c9de33130bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0", - "reference": "2a2024fcac05628b0d1bfdbb1b94dda8b0661dc0", + "url": "https://api.github.com/repos/spatie/laravel-activitylog/zipball/0e00fe74fd071cc572a045459f6d4c9de33130bd", + "reference": "0e00fe74fd071cc572a045459f6d4c9de33130bd", "shasum": "" }, "require": { - "illuminate/config": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", - "illuminate/database": "^8.69 || ^9.27 || ^10.0 || ^11.0 || ^12.0 || ^13.0", - "illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0", - "php": "^8.1", + "illuminate/config": "^12.0 || ^13.0", + "illuminate/database": "^12.0 || ^13.0", + "illuminate/support": "^12.0 || ^13.0", + "php": "^8.4", "spatie/laravel-package-tools": "^1.6.3" }, "require-dev": { "ext-json": "*", - "orchestra/testbench": "^6.23 || ^7.0 || ^8.0 || ^9.6 || ^10.0 || ^11.0", - "pestphp/pest": "^1.20 || ^2.0 || ^3.0 || ^4.0" + "larastan/larastan": "^3.0", + "laravel/pint": "^1.29", + "orchestra/testbench": "^10.0 || ^11.0", + "pestphp/pest": "^4.0" }, "type": "library", "extra": { @@ -7148,7 +7052,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-activitylog/issues", - "source": "https://github.com/spatie/laravel-activitylog/tree/4.12.3" + "source": "https://github.com/spatie/laravel-activitylog/tree/5.0.0" }, "funding": [ { @@ -7160,7 +7064,7 @@ "type": "github" } ], - "time": "2026-03-24T12:33:53+00:00" + "time": "2026-03-25T10:04:54+00:00" }, { "name": "spatie/laravel-package-tools", @@ -7225,29 +7129,41 @@ }, { "name": "spatie/laravel-sluggable", - "version": "3.8.1", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/spatie/laravel-sluggable.git", - "reference": "3624a2d7d8c8475d8561c53faf63f1af583ef76c" + "reference": "82a69be1ef661ce2ff38242b271457ef0b9611dd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-sluggable/zipball/3624a2d7d8c8475d8561c53faf63f1af583ef76c", - "reference": "3624a2d7d8c8475d8561c53faf63f1af583ef76c", + "url": "https://api.github.com/repos/spatie/laravel-sluggable/zipball/82a69be1ef661ce2ff38242b271457ef0b9611dd", + "reference": "82a69be1ef661ce2ff38242b271457ef0b9611dd", "shasum": "" }, "require": { - "illuminate/database": "^10.0|^11.0|^12.0|^13.0", - "illuminate/support": "^10.0|^11.0|^12.0|^13.0", - "php": "^8.2" + "illuminate/database": "^12.0|^13.0", + "illuminate/support": "^12.0|^13.0", + "php": "^8.3" }, "require-dev": { - "orchestra/testbench": "^8.0|^9.0|^10.0|^11.0", - "pestphp/pest": "^2.0|^3.7|^4.0", - "spatie/laravel-translatable": "^5.0|^6.0" + "larastan/larastan": "^3.0", + "laravel/pint": "^1.24", + "orchestra/testbench": "^10.0|^11.0", + "pestphp/pest": "^4.0", + "spatie/laravel-translatable": "^6.0" }, "type": "library", + "extra": { + "laravel": { + "aliases": { + "SelfHealing": "Spatie\\Sluggable\\Facades\\SelfHealing" + }, + "providers": [ + "Spatie\\Sluggable\\SluggableServiceProvider" + ] + } + }, "autoload": { "psr-4": { "Spatie\\Sluggable\\": "src" @@ -7268,11 +7184,18 @@ "description": "Generate slugs when saving Eloquent models", "homepage": "https://github.com/spatie/laravel-sluggable", "keywords": [ + "eloquent", + "laravel", "laravel-sluggable", - "spatie" + "self-healing", + "slug", + "slugs", + "spatie", + "translatable" ], "support": { - "source": "https://github.com/spatie/laravel-sluggable/tree/3.8.1" + "issues": "https://github.com/spatie/laravel-sluggable/issues", + "source": "https://github.com/spatie/laravel-sluggable/tree/4.0.2" }, "funding": [ { @@ -7280,7 +7203,7 @@ "type": "github" } ], - "time": "2026-03-23T07:42:02+00:00" + "time": "2026-04-30T17:28:09+00:00" }, { "name": "spatie/shiki-php", @@ -7851,16 +7774,16 @@ }, { "name": "spiral/roadrunner-http", - "version": "v3.6.0", + "version": "v4.1.0", "source": { "type": "git", "url": "https://github.com/roadrunner-php/http.git", - "reference": "a44a5f7d54d4ee8a14fe99cd22dcd128db270c88" + "reference": "b69cf62dcab7d4b1945fef7b40339edd4fc016c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/roadrunner-php/http/zipball/a44a5f7d54d4ee8a14fe99cd22dcd128db270c88", - "reference": "a44a5f7d54d4ee8a14fe99cd22dcd128db270c88", + "url": "https://api.github.com/repos/roadrunner-php/http/zipball/b69cf62dcab7d4b1945fef7b40339edd4fc016c8", + "reference": "b69cf62dcab7d4b1945fef7b40339edd4fc016c8", "shasum": "" }, "require": { @@ -7929,7 +7852,7 @@ "docs": "https://docs.roadrunner.dev", "forum": "https://forum.roadrunner.dev/", "issues": "https://github.com/roadrunner-server/roadrunner/issues", - "source": "https://github.com/roadrunner-php/http/tree/v3.6.0" + "source": "https://github.com/roadrunner-php/http/tree/v4.1.0" }, "funding": [ { @@ -7937,7 +7860,7 @@ "type": "github" } ], - "time": "2025-08-31T12:42:23+00:00" + "time": "2026-02-26T11:41:09+00:00" }, { "name": "spiral/roadrunner-worker", @@ -9330,37 +9253,35 @@ }, { "name": "symfony/http-foundation", - "version": "v7.4.8", + "version": "v8.0.8", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "9381209597ec66c25be154cbf2289076e64d1eab" + "reference": "02656f7ebeae5c155d659e946f6b3a33df24051b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/9381209597ec66c25be154cbf2289076e64d1eab", - "reference": "9381209597ec66c25be154cbf2289076e64d1eab", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/02656f7ebeae5c155d659e946f6b3a33df24051b", + "reference": "02656f7ebeae5c155d659e946f6b3a33df24051b", "shasum": "" }, "require": { - "php": ">=8.2", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.4", "symfony/polyfill-mbstring": "^1.1" }, "conflict": { - "doctrine/dbal": "<3.6", - "symfony/cache": "<6.4.12|>=7.0,<7.1.5" + "doctrine/dbal": "<4.3" }, "require-dev": { - "doctrine/dbal": "^3.6|^4", + "doctrine/dbal": "^4.3", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.4.12|^7.1.5|^8.0", - "symfony/clock": "^6.4|^7.0|^8.0", - "symfony/dependency-injection": "^6.4|^7.0|^8.0", - "symfony/expression-language": "^6.4|^7.0|^8.0", - "symfony/http-kernel": "^6.4|^7.0|^8.0", - "symfony/mime": "^6.4|^7.0|^8.0", - "symfony/rate-limiter": "^6.4|^7.0|^8.0" + "symfony/cache": "^7.4|^8.0", + "symfony/clock": "^7.4|^8.0", + "symfony/dependency-injection": "^7.4|^8.0", + "symfony/expression-language": "^7.4|^8.0", + "symfony/http-kernel": "^7.4|^8.0", + "symfony/mime": "^7.4|^8.0", + "symfony/rate-limiter": "^7.4|^8.0" }, "type": "library", "autoload": { @@ -9388,7 +9309,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v7.4.8" + "source": "https://github.com/symfony/http-foundation/tree/v8.0.8" }, "funding": [ { @@ -9408,20 +9329,20 @@ "type": "tidelift" } ], - "time": "2026-03-24T13:12:05+00:00" + "time": "2026-03-30T15:14:47+00:00" }, { "name": "symfony/http-kernel", - "version": "v8.0.11", + "version": "v8.0.12", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "20d3680373f4b791903c09e74b45402b4aeda71c" + "reference": "c00291734c59c05c54c5a3abc2ab18e99b070157" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/20d3680373f4b791903c09e74b45402b4aeda71c", - "reference": "20d3680373f4b791903c09e74b45402b4aeda71c", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/c00291734c59c05c54c5a3abc2ab18e99b070157", + "reference": "c00291734c59c05c54c5a3abc2ab18e99b070157", "shasum": "" }, "require": { @@ -9492,7 +9413,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v8.0.11" + "source": "https://github.com/symfony/http-kernel/tree/v8.0.12" }, "funding": [ { @@ -9512,20 +9433,20 @@ "type": "tidelift" } ], - "time": "2026-05-13T18:07:14+00:00" + "time": "2026-05-20T09:47:36+00:00" }, { "name": "symfony/mailer", - "version": "v8.0.8", + "version": "v8.0.12", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "ca5f6edaf8780ece814404b58a4482b22b509c56" + "reference": "5266d594e83593dff3492b5655ff6e8f38d67cfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/ca5f6edaf8780ece814404b58a4482b22b509c56", - "reference": "ca5f6edaf8780ece814404b58a4482b22b509c56", + "url": "https://api.github.com/repos/symfony/mailer/zipball/5266d594e83593dff3492b5655ff6e8f38d67cfc", + "reference": "5266d594e83593dff3492b5655ff6e8f38d67cfc", "shasum": "" }, "require": { @@ -9572,7 +9493,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v8.0.8" + "source": "https://github.com/symfony/mailer/tree/v8.0.12" }, "funding": [ { @@ -9592,20 +9513,20 @@ "type": "tidelift" } ], - "time": "2026-03-30T15:14:47+00:00" + "time": "2026-05-20T07:22:03+00:00" }, { "name": "symfony/mime", - "version": "v8.0.9", + "version": "v8.0.12", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "a9fcb293650c054b62a5b406f4e92e7b711ea333" + "reference": "7d9a72bbf0a9cb169ed1cbbbbbf709a592207fc1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/a9fcb293650c054b62a5b406f4e92e7b711ea333", - "reference": "a9fcb293650c054b62a5b406f4e92e7b711ea333", + "url": "https://api.github.com/repos/symfony/mime/zipball/7d9a72bbf0a9cb169ed1cbbbbbf709a592207fc1", + "reference": "7d9a72bbf0a9cb169ed1cbbbbbf709a592207fc1", "shasum": "" }, "require": { @@ -9658,7 +9579,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v8.0.9" + "source": "https://github.com/symfony/mime/tree/v8.0.12" }, "funding": [ { @@ -9678,7 +9599,7 @@ "type": "tidelift" } ], - "time": "2026-04-29T15:02:55+00:00" + "time": "2026-05-20T07:22:03+00:00" }, { "name": "symfony/polyfill-ctype", @@ -10910,16 +10831,16 @@ }, { "name": "symfony/routing", - "version": "v8.0.9", + "version": "v8.0.12", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "75d1bd8e5da3424e4db2fc3ff0222cb4d0c73038" + "reference": "c7f22a665faa3e5212b8f042e0c5831a6b85492f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/75d1bd8e5da3424e4db2fc3ff0222cb4d0c73038", - "reference": "75d1bd8e5da3424e4db2fc3ff0222cb4d0c73038", + "url": "https://api.github.com/repos/symfony/routing/zipball/c7f22a665faa3e5212b8f042e0c5831a6b85492f", + "reference": "c7f22a665faa3e5212b8f042e0c5831a6b85492f", "shasum": "" }, "require": { @@ -10966,7 +10887,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v8.0.9" + "source": "https://github.com/symfony/routing/tree/v8.0.12" }, "funding": [ { @@ -10986,7 +10907,7 @@ "type": "tidelift" } ], - "time": "2026-04-29T15:02:55+00:00" + "time": "2026-05-20T07:22:03+00:00" }, { "name": "symfony/serializer", @@ -12201,16 +12122,16 @@ }, { "name": "webmozart/assert", - "version": "2.3.0", + "version": "2.4.0", "source": { "type": "git", "url": "https://github.com/webmozarts/assert.git", - "reference": "eb0d790f735ba6cff25c683a85a1da0eadeff9e4" + "reference": "9007ea6f45ecf352a9422b36644e4bfc039b9155" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/eb0d790f735ba6cff25c683a85a1da0eadeff9e4", - "reference": "eb0d790f735ba6cff25c683a85a1da0eadeff9e4", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/9007ea6f45ecf352a9422b36644e4bfc039b9155", + "reference": "9007ea6f45ecf352a9422b36644e4bfc039b9155", "shasum": "" }, "require": { @@ -12226,7 +12147,11 @@ }, "type": "library", "extra": { + "psalm": { + "pluginClass": "Webmozart\\Assert\\PsalmPlugin" + }, "branch-alias": { + "dev-master": "2.0-dev", "dev-feature/2-0": "2.0-dev" } }, @@ -12257,9 +12182,9 @@ ], "support": { "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/2.3.0" + "source": "https://github.com/webmozarts/assert/tree/2.4.0" }, - "time": "2026-04-11T10:33:05+00:00" + "time": "2026-05-20T13:07:01+00:00" } ], "packages-dev": [ diff --git a/config/activitylog.php b/config/activitylog.php index c0c0186..27cd6aa 100755 --- a/config/activitylog.php +++ b/config/activitylog.php @@ -1,7 +1,7 @@ env('ACTIVITY_LOGGER_ENABLED', true), + 'enabled' => env('ACTIVITYLOG_ENABLED', true), /* - * When the clean-command is executed, all recording activities older than + * When the clean command is executed, all recording activities older than * the number of days specified here will be deleted. */ - 'delete_records_older_than_days' => 365, + 'clean_after_days' => 365, /* * If no log name is passed to the activity() helper @@ -30,9 +30,10 @@ return [ 'default_auth_driver' => null, /* - * If set to true, the subject returns soft deleted models. + * If set to true, the subject relationship on activities + * will include soft deleted models. */ - 'subject_returns_soft_deleted_models' => false, + 'include_soft_deleted_subjects' => false, /* * This model will be used to log activity. @@ -42,15 +43,31 @@ return [ 'activity_model' => Activity::class, /* - * This is the name of the table that will be created by the migration and - * used by the Activity model shipped with this package. + * These attributes will be excluded from logging for all models. + * Model-specific exclusions via logExcept() are merged with these. */ - 'table_name' => 'activity_log', + 'default_except_attributes' => [], /* - * This is the database connection that will be used by the migration and - * the Activity model shipped with this package. In case it's not set - * Laravel's database.default will be used instead. + * When enabled, activities are buffered in memory and inserted in a + * single bulk query after the response has been sent to the client. + * This can significantly reduce the number of database queries when + * many activities are logged during a single request. + * + * Only enable this if your application logs a high volume of activities + * per request. Buffered activities will not have an ID until the + * buffer is flushed. */ - 'database_connection' => env('ACTIVITY_LOGGER_DB_CONNECTION'), + 'buffer' => [ + 'enabled' => env('ACTIVITYLOG_BUFFER_ENABLED', false), + ], + + /* + * These action classes can be overridden to customize how activities + * are logged and cleaned. Your custom classes must extend the originals. + */ + 'actions' => [ + 'log_activity' => LogActivityAction::class, + 'clean_log' => CleanActivityLogAction::class, + ], ];