New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

marvinosswald/filament-activity-log

This is my package filament-activity-log
1,857
Install
composer require marvinosswald/filament-activity-log
Latest Version:0.3.3
PHP:^8.1
Laravel:10
License:MIT
Last Updated:Jul 8, 2024
Links: GitHub  ·  Packagist
Maintainer: marvinosswald

Activity Log for Filament

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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

marvinosswald/filament-input-select-affix

this input enables you to render a select next to an input in a seamless fashion

152,399 26
noxoua/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel,...

56,647 72
waseet/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel,...

422
noin/filament-activity-log

A Laravel package that simplifies activity logging in the Filament admin panel,...

3,122 2
doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

655,942,320 9,702

Version History

Version Released PHP Laravel License
0.3.3 ^8.1 ^10.0 MIT
0.3.2 ^8.1 ^10.0 MIT
0.3.1 ^8.1 ^10.0 MIT
0.3.0 ^8.1 ^10.0 MIT
0.2.1 ^8.1 ^10.0 MIT