PHP code example of yezzmedia / laravel-ops-settings
1. Go to this page and download the library: Download yezzmedia/laravel-ops-settings 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/ */
yezzmedia / laravel-ops-settings example snippets
return [
'cache' => [
'enabled' => true, // Toggle package-owned settings cache
'store' => null, // Cache store to use (null = default)
],
'audit' => [
'driver' => null, // null or 'activitylog'
],
'defaults' => [
'seed_on_install' => true, // Seed defaults during install flow
],
'workspace' => [
'history_limit' => 20, // Maximum recent audit rows shown in the workspace
'presets' => ['de', 'ch', 'at', 'us'], // Curated region presets available in the workspace
],
'security' => [
'password_confirmation' => [
'timeout' => 900, // Seconds that one password confirmation stays valid in the workspace session
],
],
];