PHP code example of thettler / filament-activity-viewer

1. Go to this page and download the library: Download thettler/filament-activity-viewer 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/ */

    

thettler / filament-activity-viewer example snippets


return [
];

$filamentActivityViewer = new Thettler\FilamentActivityViewer();
echo $filamentActivityViewer->echoPhrase('Hello, Thettler!');
css
@source '../../../../vendor/thettler/filament-activity-viewer/resources/**/*.blade.php';
bash
php artisan vendor:publish --tag="filament-activity-viewer-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-activity-viewer-config"
bash
php artisan vendor:publish --tag="filament-activity-viewer-views"