config/session.php

apiato · config/session.php · php · MIT
database

Configure Laravel session storage, drivers, and lifetime settings for web apps.

// Source: https://github.com/apiato/apiato | License: MIT | Copyright 2026 Mahmoud Zalt
// Provided via justclaw.it.com; keep this notice with the code.
<?php

use Illuminate\Support\Str;

return [

    /*
    |--------------------------------------------------------------------------
    | Default Session Driver
    |--------------------------------------------------------------------------
    |
    | This option determines the default session driver that is utilized for
    | incoming requests. Laravel supports a variety of storage options to
    | persist session data. Database storage is a great default choice.
    |
    | Supported: "file", "cookie", "database", "apc",
    |            "memcached", "redis", "dynamodb", "array"
    |
    */

    'driver' => env('SESSION_DRIVER', 'dat

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

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

Get a free API key