filament-auditing
filament-auditing copied to clipboard
Undocumented requirement on Laravel 9.x
Running legacy Laravel v8 application, Filament v2, Laravel Auditing v13; This plugin can be installed and configured correctly, and displays the Audit tab for the resource, however selecting the tab throws an exception.
Method Illuminate\Support\Arr::map does not exist.
From the Laravel documentation Arr::map
was not introduced until Laravel 9 (https://laravel.com/docs/9.x/helpers#method-array-map).
AuditsRelationManager.php
references this method:
protected static function extraColumns()
{
return Arr::map(config('filament-auditing.audits_extend'), function ($buildParameters, $columnName) {
return collect($buildParameters)->pipeThrough([
// etc
Auditing v13 looks to support Laravel v7 onwards.