PHP code example of danilopolani / filament-plausible-widget

1. Go to this page and download the library: Download danilopolani/filament-plausible-widget 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/ */

    

danilopolani / filament-plausible-widget example snippets


use DaniloPolani\FilamentPlausibleWidget\Widgets\PlausibleWidget;

->widgets([
    Widgets\AccountWidget::class,
    Widgets\FilamentInfoWidget::class,
    PlausibleWidget::class,
])
bash
php artisan vendor:publish --tag=filament-plausible-widget-assets
bash
php artisan vendor:publish --tag=filament-plausible-widget-assets --force
bash
php artisan vendor:publish --tag=filament-plausible-widget-config