PHP code example of postare / filament-tracking-consent
1. Go to this page and download the library: Download postare/filament-tracking-consent 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/ */
postare / filament-tracking-consent example snippets
return [
'settings-page' => [
'title' => 'Tracking Settings',
'navigation-label' => 'Tracking and Consent',
'navigation-icon' => 'heroicon-o-presentation-chart-bar',
'navigation-group' => 'Settings',
],
];
->plugins([
...
\Postare\FilamentTrackingConsent\FilamentTrackingConsentPlugin::make(),
])
bash
php artisan vendor:publish --tag="filament-tracking-consent-config"