PHP code example of adrolli / filament-spatie-laravel-activitylog

1. Go to this page and download the library: Download adrolli/filament-spatie-laravel-activitylog library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

adrolli / filament-spatie-laravel-activitylog example snippets


return [

    'resource' => [
        'filament-resource' => AlexJustesen\FilamentSpatieLaravelActivitylog\Resources\ActivityResource::class,
        'group' => null,
        'sort'  => null,
    ],

    'paginate' => [5, 10, 25, 50],

];

public function hideSubjectColumn(): bool
{
    return false;
}
bash
php artisan vendor:publish --tag="filament-spatie-activitylog-config"