#1 - project skeleton

This commit is contained in:
Adrian Hopek
2022-01-10 12:19:04 +01:00
parent 683b2367ea
commit d4f522f9d8
90 changed files with 25978 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",
];