PHP code example of dazza-dev / pulse-duplicate-queries
1. Go to this page and download the library: Download dazza-dev/pulse-duplicate-queries 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/ */
dazza-dev / pulse-duplicate-queries example snippets
'recorders' => [
\DazzaDev\PulseDuplicateQueries\Recorders\DuplicateQueriesRecorder::class => [
'enabled' => env('PULSE_DUPLICATED_QUERIES_BY_REQUEST_ENABLED', true),
'sample_rate' => env('PULSE_DUPLICATED_QUERIES_BY_REQUEST_SAMPLE_RATE', 1)
],
]
<livewire:duplicate-queries cols='4' rows='2' />