PHP code example of loggitack / loggitrack-sdk-laravel
1. Go to this page and download the library: Download loggitack/loggitrack-sdk-laravel 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/ */
loggitack / loggitrack-sdk-laravel example snippets
return [
'api_key' => env('LOGGITRACK_API_KEY', ''),
'api_url' => env('LOGGITRACK_API_URL', ''),
'observed_models' => [
// Example: App\Models\User::class,
],
// Additional configuration options
'queueable' => false,
/**
* the request logger and model logger will not save these fields.
*/
'escaped_fields' => [
// 'password', 'api_key'
]
];