#1 - project skeleton (#7)

* #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
This commit is contained in:
Adrian Hopek
2022-01-10 13:28:18 +01:00
committed by GitHub
parent 683b2367ea
commit 8f5f2b88f0
90 changed files with 25980 additions and 1 deletions

26
config/session.php Normal file
View File

@@ -0,0 +1,26 @@
<?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",
];