| Package Data | |
|---|---|
| Maintainer Username: | pxlrbt |
| Maintainer Contact: | info@pixelarbeit.de (Dennis Koch) |
| Package Create Date: | 2023-05-22 |
| Package Last Update: | 2025-10-17 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-31 03:02:38 |
| Package Statistics | |
|---|---|
| Total Downloads: | 333,720 |
| Monthly Downloads: | 25,464 |
| Daily Downloads: | 1,226 |
| Total Stars: | 203 |
| Total Watchers: | 5 |
| Total Forks: | 36 |
| Total Open Issues: | 10 |

This package adds a page to the Filament Admin panel to view the activity log generated by spatie/laravel-activitylog.

| Plugin Version | Filament Version | PHP Version | |----------------|------------------|-------------| | 0.1.x | 2.x | > 8.0 | | 1.x | 3.x | > 8.1 | | 2.x | 4.x | > 8.1 |
Install via Composer.
Requires PHP 8.0 and Filament 2.0
composer require pxlrbt/filament-activity-log
Warning This plugin only offers a page to show activities related to your model. You need
spatie/laravel-activityloginstalled and configured for it to work. It is important you are using theLogsActivitytrait as per Spatie's docs for this work as we use the '->activities()' method of the trait.
Make sure you have a custom theme, add this line and recompile: @import '../../../../vendor/pxlrbt/filament-activity-log/resources/css/styles.css';
Make sure you use a custom theme and the vendor folder for this plugins is published, so that it includes the Tailwind CSS classes.
Create the page inside your resources Pages/ directory. Replace OrderResource with your resource.
<?php
namespace App\Filament\Resources\OrderResource\Pages;
use pxlrbt\FilamentActivityLog\Pages\ListActivities;
class ListOrderActivities extends ListActivities
{
protected static string $resource = OrderResource::class;
}
Add the page to your resource's getPages() method.
public static function getPages(): array
{
return [
'index' => Pages\ListOrders::route('/'),
'create' => Pages\CreateOrder::route('/create'),
'activities' => Pages\ListOrderActivities::route('/{record}/activities'),
'edit' => Pages\EditOrder::route('/{record}/edit'),
];
}
Use a Filament action to link to your from your table or page.
$table->actions([
Action::make('activities')->url(fn ($record) => YourResource::getUrl('activities', ['record' => $record]))
]);
If you want to contribute to this packages, you may want to test it in a real Filament project:
/filament-activity-log directory, create a branch for your fix, e.g. fix/error-message.Install the packages in your app's composer.json:
"require": {
"pxlrbt/filament-activity-log": "dev-fix/error-message as main-dev",
},
"repositories": [
{
"type": "path",
"url": "filament-activity-log"
}
]
Now, run composer update.