PHP code example of shaffe / laravel-mail-log-channel
1. Go to this page and download the library: Download shaffe/laravel-mail-log-channel 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/ */
shaffe / laravel-mail-log-channel example snippets
// Throttle window in seconds (default: 60)
'throttle' => 60,
// Disable throttling
'throttle' => 0,
// Use a specific cache store (useful for multi-server setups)
'throttle_cache_store' => 'redis',
// Number of queries to keep (default: 10)
'query_limit' => 10,
// Disable SQL query logging entirely
'log_queries' => false,
'log_request_payload' => true,
'redact_keys' => ['ssn', 'national_id'],
// Truncate any scalar value longer than this (characters).
// Truncated values are annotated, e.g. "abc… [1200 chars total]".
'payload_max_value_length' => 500,
// Keep at most this many fields per array level.
// Omitted fields are reported as "+ N more fields omitted".
'payload_max_keys' => 50,