-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Shift Middleware * Shift core files * Shift configuration * Shift Laravel dependencies
- Loading branch information
Showing
11 changed files
with
122 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?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" | ||
| | ||
*/ | ||
|
||
'driver' => 'bcrypt', | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Log Channel | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option defines the default log channel that gets used when writing | ||
| messages to the logs. The name specified in this option should match | ||
| one of the channels defined in the "channels" configuration array. | ||
| | ||
*/ | ||
|
||
'default' => env('LOG_CHANNEL', 'stack'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Log Channels | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may configure the log channels for your application. Out of | ||
| the box, Laravel uses the Monolog PHP logging library. This gives | ||
| you a variety of powerful log handlers / formatters to utilize. | ||
| | ||
| Available Drivers: "single", "daily", "slack", "syslog", | ||
| "errorlog", "custom", "stack" | ||
| | ||
*/ | ||
|
||
'channels' => [ | ||
'stack' => [ | ||
'driver' => 'stack', | ||
'channels' => ['single'], | ||
], | ||
|
||
'single' => [ | ||
'driver' => 'single', | ||
'path' => storage_path('logs/laravel.log'), | ||
'level' => 'debug', | ||
], | ||
|
||
'daily' => [ | ||
'driver' => 'daily', | ||
'path' => storage_path('logs/laravel.log'), | ||
'level' => 'debug', | ||
'days' => 7, | ||
], | ||
|
||
'slack' => [ | ||
'driver' => 'slack', | ||
'url' => env('LOG_SLACK_WEBHOOK_URL'), | ||
'username' => 'Laravel Log', | ||
'emoji' => ':boom:', | ||
'level' => 'critical', | ||
], | ||
|
||
'syslog' => [ | ||
'driver' => 'syslog', | ||
'level' => 'debug', | ||
], | ||
|
||
'errorlog' => [ | ||
'driver' => 'errorlog', | ||
'level' => 'debug', | ||
], | ||
], | ||
|
||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,7 @@ | |
| | ||
*/ | ||
|
||
'lifetime' => 120, | ||
'lifetime' => env('SESSION_LIFETIME', 120), | ||
|
||
'expire_on_close' => false, | ||
|
||
|