
* #1 - project skeleton * #1 - composer fix * #1 - add app key to phpunit config * #1 - change default session driver * #1 - add EXTERNAL_WEBSERVER_PORT variable to .env.example
27 lines
688 B
PHP
27 lines
688 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Illuminate\Support\Str;
|
|
|
|
return [
|
|
"driver" => env("SESSION_DRIVER", "file"),
|
|
"lifetime" => env("SESSION_LIFETIME", 120),
|
|
"expire_on_close" => false,
|
|
"encrypt" => false,
|
|
"files" => storage_path("framework/sessions"),
|
|
"connection" => env("SESSION_CONNECTION"),
|
|
"table" => "sessions",
|
|
"store" => env("SESSION_STORE"),
|
|
"lottery" => [2, 100],
|
|
"cookie" => env(
|
|
"SESSION_COOKIE",
|
|
Str::slug(env("APP_NAME", "laravel"), "_") . "_session",
|
|
),
|
|
"path" => "/",
|
|
"domain" => env("SESSION_DOMAIN"),
|
|
"secure" => env("SESSION_SECURE_COOKIE"),
|
|
"http_only" => true,
|
|
"same_site" => "lax",
|
|
];
|