-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
319 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Default Broadcaster | ||
|-------------------------------------------------------------------------- | ||
| | ||
| This option controls the default broadcaster that will be used by the | ||
| framework when an event needs to be broadcast. You may set this to | ||
| any of the connections defined in the "connections" array below. | ||
| | ||
| Supported: "reverb", "pusher", "ably", "redis", "log", "null" | ||
| | ||
*/ | ||
|
||
'default' => env('BROADCAST_CONNECTION', 'null'), | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Broadcast Connections | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may define all of the broadcast connections that will be used | ||
| to broadcast events to other systems or over WebSockets. Samples of | ||
| each available type of connection are provided inside this array. | ||
| | ||
*/ | ||
|
||
'connections' => [ | ||
|
||
'reverb' => [ | ||
'driver' => 'reverb', | ||
'key' => env('REVERB_APP_KEY'), | ||
'secret' => env('REVERB_APP_SECRET'), | ||
'app_id' => env('REVERB_APP_ID'), | ||
'options' => [ | ||
'host' => env('REVERB_HOST'), | ||
'port' => env('REVERB_PORT', 443), | ||
'scheme' => env('REVERB_SCHEME', 'https'), | ||
'useTLS' => env('REVERB_SCHEME', 'https') === 'https', | ||
], | ||
'client_options' => [ | ||
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html | ||
], | ||
], | ||
|
||
'pusher' => [ | ||
'driver' => 'pusher', | ||
'key' => env('PUSHER_APP_KEY'), | ||
'secret' => env('PUSHER_APP_SECRET'), | ||
'app_id' => env('PUSHER_APP_ID'), | ||
'options' => [ | ||
'cluster' => env('PUSHER_APP_CLUSTER'), | ||
'host' => env('PUSHER_HOST') ?: 'api-' . env('PUSHER_APP_CLUSTER', 'mt1') . '.pusher.com', | ||
'port' => env('PUSHER_PORT', 443), | ||
'scheme' => env('PUSHER_SCHEME', 'https'), | ||
'encrypted' => true, | ||
'useTLS' => env('PUSHER_SCHEME', 'https') === 'https', | ||
], | ||
'client_options' => [ | ||
// Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html | ||
], | ||
], | ||
|
||
'ably' => [ | ||
'driver' => 'ably', | ||
'key' => env('ABLY_KEY'), | ||
], | ||
|
||
'log' => [ | ||
'driver' => 'log', | ||
], | ||
|
||
'null' => [ | ||
'driver' => 'null', | ||
], | ||
|
||
], | ||
|
||
]; |
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,34 @@ | ||
<?php | ||
|
||
return [ | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Cross-Origin Resource Sharing (CORS) Configuration | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Here you may configure your settings for cross-origin resource sharing | ||
| or "CORS". This determines what cross-origin operations may execute | ||
| in web browsers. You are free to adjust these settings as needed. | ||
| | ||
| To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS | ||
| | ||
*/ | ||
|
||
'paths' => ['api/*', 'sanctum/csrf-cookie'], | ||
|
||
'allowed_methods' => ['*'], | ||
|
||
'allowed_origins' => ['*'], | ||
|
||
'allowed_origins_patterns' => [], | ||
|
||
'allowed_headers' => ['*'], | ||
|
||
'exposed_headers' => [], | ||
|
||
'max_age' => 0, | ||
|
||
'supports_credentials' => false, | ||
|
||
]; |
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,67 @@ | ||
<?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' => env('HASH_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', 12), | ||
'verify' => env('HASH_VERIFY', true), | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| 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' => env('ARGON_MEMORY', 65536), | ||
'threads' => env('ARGON_THREADS', 1), | ||
'time' => env('ARGON_TIME', 4), | ||
'verify' => env('HASH_VERIFY', true), | ||
], | ||
|
||
/* | ||
|-------------------------------------------------------------------------- | ||
| Rehash On Login | ||
|-------------------------------------------------------------------------- | ||
| | ||
| Setting this option to true will tell Laravel to automatically rehash | ||
| the user's password during login if the configured work factor for | ||
| the algorithm has changed, allowing graceful upgrades of hashes. | ||
| | ||
*/ | ||
|
||
'rehash_on_login' => true, | ||
|
||
]; |
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
Oops, something went wrong.