Shift config files

This commit is contained in:
Shift
2023-01-03 08:25:47 +00:00
parent ee71e0a86a
commit 8b7e406cd6
5 changed files with 56 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ class InstallerApiController extends Controller
$ENV['MAIL_PASSWORD'] = 'null'; $ENV['MAIL_PASSWORD'] = 'null';
$ENV['CACHE_DRIVER'] = 'file'; $ENV['CACHE_DRIVER'] = 'file';
$ENV['SESSION_DRIVER'] = 'file'; $ENV['SESSION_DRIVER'] = 'file';
$ENV['QUEUE_DRIVER'] = 'sync'; $ENV['QUEUE_CONNECTION'] = 'sync';
$ENV['JWT_TTL'] = 4; $ENV['JWT_TTL'] = 4;
$ENV['FCM_SERVER_KEY'] = 'AIzaSyCyx5OFnsRFUmDLTMbPV50ZMDUGSG-bLw4'; $ENV['FCM_SERVER_KEY'] = 'AIzaSyCyx5OFnsRFUmDLTMbPV50ZMDUGSG-bLw4';
$ENV['FCM_SENDER_ID'] = '661051343223'; $ENV['FCM_SENDER_ID'] = '661051343223';

View File

@@ -441,7 +441,7 @@ class InstallController extends Controller
$ENV['CACHE_DRIVER'] = 'file'; $ENV['CACHE_DRIVER'] = 'file';
$ENV['SESSION_DRIVER'] = 'file'; $ENV['SESSION_DRIVER'] = 'file';
$ENV['SESSION_COOKIE_NAME'] = 'faveo_'.rand(0, 10000); $ENV['SESSION_COOKIE_NAME'] = 'faveo_'.rand(0, 10000);
$ENV['QUEUE_DRIVER'] = 'sync'; $ENV['QUEUE_CONNECTION'] = 'sync';
$ENV['JWT_TTL'] = 4; $ENV['JWT_TTL'] = 4;
$ENV['FCM_SERVER_KEY'] = 'AIzaSyCyx5OFnsRFUmDLTMbPV50ZMDUGSG-bLw4'; $ENV['FCM_SERVER_KEY'] = 'AIzaSyCyx5OFnsRFUmDLTMbPV50ZMDUGSG-bLw4';
$ENV['FCM_SENDER_ID'] = '661051343223'; $ENV['FCM_SENDER_ID'] = '661051343223';

52
config/hashing.php Normal file
View File

@@ -0,0 +1,52 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Default Hash Driver
|--------------------------------------------------------------------------
|
| This option controls the default hash driver that will be used to hash
| passwords for your application. By default, the bcrypt algorithm is
| used; however, you remain free to modify this option if you wish.
|
| Supported: "bcrypt", "argon", "argon2id"
|
*/
'driver' => 'bcrypt',
/*
|--------------------------------------------------------------------------
| Bcrypt Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Bcrypt algorithm. This will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'bcrypt' => [
'rounds' => env('BCRYPT_ROUNDS', 10),
],
/*
|--------------------------------------------------------------------------
| Argon Options
|--------------------------------------------------------------------------
|
| Here you may specify the configuration options that should be used when
| passwords are hashed using the Argon algorithm. These will allow you
| to control the amount of time it takes to hash the given password.
|
*/
'argon' => [
'memory' => 1024,
'threads' => 2,
'time' => 2,
],
];

View File

@@ -15,4 +15,4 @@ MAIL_USERNAME=null
MAIL_PASSWORD=null MAIL_PASSWORD=null
CACHE_DRIVER=file CACHE_DRIVER=file
SESSION_DRIVER=file SESSION_DRIVER=file
QUEUE_DRIVER=sync QUEUE_CONNECTION=sync

View File

@@ -27,7 +27,7 @@
<env name="DB_DATABASE" value="testing_db"/> <env name="DB_DATABASE" value="testing_db"/>
<env name="CACHE_DRIVER" value="array"/> <env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/> <env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/> <env name="QUEUE_CONNECTION" value="sync"/>
<env name="MAIL_DRIVER" value="mail"/> <env name="MAIL_DRIVER" value="mail"/>
<env name="APP_URL" value="http://localhost:8000"/> <env name="APP_URL" value="http://localhost:8000"/>
<env name="DB_DATABASE" value="testing_db"/> <env name="DB_DATABASE" value="testing_db"/>