config/activitylog.php

superduper-filament-starter-kit · config/activitylog.php · php · MIT
database

activitylog.php from riodwanto/superduper-filament-starter-kit

// Source: https://github.com/riodwanto/superduper-filament-starter-kit | License: MIT | Copyright 2024 Rio Dewanto P
// Provided via justclaw.it.com; keep this notice with the code.
<?php

return [

    /*
     * If set to false, no activities will be saved to the database.
     */
    'enabled' => env('ACTIVITY_LOGGER_ENABLED', true),

    /*
     * When the clean-command is executed, all recording activities older than
     * the number of days specified here will be deleted.
     */
    'delete_records_older_than_days' => 365,

    /*
     * If no log name is passed to the activity() helper
     * we use this default log name.
     */
    'default_log_name' => 'default',

    /*
     * You can specify an auth driver here that gets user models.
     * If this is null we'll use the curre

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key