PHP code example of stillat / statamic-search-report
1. Go to this page and download the library: Download stillat/statamic-search-report 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/ */
stillat / statamic-search-report example snippets
return [
// ...
/*
|--------------------------------------------------------------------------
| Authenticated User Search Logging Configuration
|--------------------------------------------------------------------------
|
| The 'Ignore Authenticated Users' option configures the logging of search
| queries made by signed-in users. When enabled, it prevents the storage
| of search activities from authenticated accounts. This can be useful
| when the only authenticated users are administrators or editors.
|
*/
'ignore_authenticated_users' => true,
// ...
];
bash
php artisan vendor:publish --tag=statamic-search-report
bash
php artisan migrate