marvinosswald/filament-activity-log
| Install | |
|---|---|
composer require marvinosswald/filament-activity-log |
|
| Latest Version: | 0.3.3 |
| PHP: | ^8.1 |
| License: | MIT |
| Last Updated: | Jul 8, 2024 |
| Links: | GitHub · Packagist |
Activity Log for Filament
This is a Infolist Entry which displays log line from https://github.com/spatie/laravel-activitylog.
Installation
You can install the package via composer:
composer require marvinosswald/filament-activity-log
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-activity-log-views"
Usage
ActivityLogEntry::make()
->with('shippingAddress.activities')
->formatDescriptionUsing(fn(Activity $activity) => $activity->description)
->formatSubjectUsing(function (Activity $activity) {
if ($activity->subject_type == OrderAddress::class) {
return __("models.{$activity->subject_type}", ['type' => $activity->subject->type]);
}
return __("models.{$activity->subject_type}");
})
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
A Laravel package that simplifies activity logging in the Filament admin panel,...
this input enables you to render a select next to an input in a seamless fashion
A Laravel package that simplifies activity logging in the Filament admin panel,...
A Laravel package that simplifies activity logging in the Filament admin panel,...
Powerful PHP database abstraction layer (DBAL) with many features for database s...