diff --git a/.editorconfig b/.editorconfig
index 8f0de65..a186cd2 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -14,5 +14,5 @@ trim_trailing_whitespace = false
[*.{yml,yaml}]
indent_size = 2
-[docker-compose.yml]
+[compose.yaml]
indent_size = 4
diff --git a/bootstrap/app.php b/bootstrap/app.php
index a827a7f..bf216c2 100644
--- a/bootstrap/app.php
+++ b/bootstrap/app.php
@@ -12,12 +12,12 @@
commands: __DIR__.'/../routes/console.php',
health: '/up',
)
- ->withMiddleware(function (Middleware $middleware) {
+ ->withMiddleware(function (Middleware $middleware): void {
$middleware->web(append: [
HandleInertiaRequests::class,
AddLinkHeadersForPreloadedAssets::class,
]);
})
- ->withExceptions(function (Exceptions $exceptions) {
+ ->withExceptions(function (Exceptions $exceptions): void {
//
})->create();
diff --git a/composer.json b/composer.json
index 4f7d898..92f2e76 100644
--- a/composer.json
+++ b/composer.json
@@ -18,7 +18,7 @@
"require-dev": {
"fakerphp/faker": "^1.23",
"laravel/pail": "^1.2.2",
- "laravel/pint": "^1.18",
+ "laravel/pint": "^1.24",
"laravel/sail": "^1.41",
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
diff --git a/config/app.php b/config/app.php
index 324b513..423eed5 100644
--- a/config/app.php
+++ b/config/app.php
@@ -101,7 +101,7 @@
'previous_keys' => [
...array_filter(
- explode(',', env('APP_PREVIOUS_KEYS', ''))
+ explode(',', (string) env('APP_PREVIOUS_KEYS', ''))
),
],
diff --git a/config/auth.php b/config/auth.php
index 0ba5d5d..7d1eb0d 100644
--- a/config/auth.php
+++ b/config/auth.php
@@ -104,7 +104,7 @@
| Password Confirmation Timeout
|--------------------------------------------------------------------------
|
- | Here you may define the amount of seconds before a password confirmation
+ | Here you may define the number of seconds before a password confirmation
| window expires and users are asked to re-enter their password via the
| confirmation screen. By default, the timeout lasts for three hours.
|
diff --git a/config/cache.php b/config/cache.php
index 925f7d2..b32aead 100644
--- a/config/cache.php
+++ b/config/cache.php
@@ -27,7 +27,8 @@
| same cache driver to group types of items stored in your caches.
|
| Supported drivers: "array", "database", "file", "memcached",
- | "redis", "dynamodb", "octane", "null"
+ | "redis", "dynamodb", "octane",
+ | "failover", "null"
|
*/
@@ -90,6 +91,14 @@
'driver' => 'octane',
],
+ 'failover' => [
+ 'driver' => 'failover',
+ 'stores' => [
+ 'database',
+ 'array',
+ ],
+ ],
+
],
/*
@@ -103,6 +112,6 @@
|
*/
- 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
+ 'prefix' => env('CACHE_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-cache-'),
];
diff --git a/config/database.php b/config/database.php
index c676a91..53dcae0 100644
--- a/config/database.php
+++ b/config/database.php
@@ -40,6 +40,7 @@
'busy_timeout' => null,
'journal_mode' => null,
'synchronous' => null,
+ 'transaction_mode' => 'DEFERRED',
],
'mysql' => [
@@ -147,7 +148,7 @@
'options' => [
'cluster' => env('REDIS_CLUSTER', 'redis'),
- 'prefix' => env('REDIS_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_database_'),
+ 'prefix' => env('REDIS_PREFIX', Str::slug((string) env('APP_NAME', 'laravel')).'-database-'),
'persistent' => env('REDIS_PERSISTENT', false),
],
diff --git a/config/logging.php b/config/logging.php
index 8d94292..9e998a4 100644
--- a/config/logging.php
+++ b/config/logging.php
@@ -54,7 +54,7 @@
'stack' => [
'driver' => 'stack',
- 'channels' => explode(',', env('LOG_STACK', 'single')),
+ 'channels' => explode(',', (string) env('LOG_STACK', 'single')),
'ignore_exceptions' => false,
],
@@ -98,10 +98,10 @@
'driver' => 'monolog',
'level' => env('LOG_LEVEL', 'debug'),
'handler' => StreamHandler::class,
- 'formatter' => env('LOG_STDERR_FORMATTER'),
- 'with' => [
+ 'handler_with' => [
'stream' => 'php://stderr',
],
+ 'formatter' => env('LOG_STDERR_FORMATTER'),
'processors' => [PsrLogMessageProcessor::class],
],
diff --git a/config/mail.php b/config/mail.php
index 756305b..522b284 100644
--- a/config/mail.php
+++ b/config/mail.php
@@ -46,7 +46,7 @@
'username' => env('MAIL_USERNAME'),
'password' => env('MAIL_PASSWORD'),
'timeout' => null,
- 'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url(env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
+ 'local_domain' => env('MAIL_EHLO_DOMAIN', parse_url((string) env('APP_URL', 'http://localhost'), PHP_URL_HOST)),
],
'ses' => [
@@ -85,6 +85,7 @@
'smtp',
'log',
],
+ 'retry_after' => 60,
],
'roundrobin' => [
@@ -93,6 +94,7 @@
'ses',
'postmark',
],
+ 'retry_after' => 60,
],
],
diff --git a/config/queue.php b/config/queue.php
index 116bd8d..9d5e589 100644
--- a/config/queue.php
+++ b/config/queue.php
@@ -24,7 +24,8 @@
| used by your application. An example configuration is provided for
| each backend supported by Laravel. You're also free to add more.
|
- | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
+ | Drivers: "sync", "database", "beanstalkd", "sqs", "redis",
+ | "deferred", "failover", "null"
|
*/
@@ -72,6 +73,18 @@
'after_commit' => false,
],
+ 'deferred' => [
+ 'driver' => 'deferred',
+ ],
+
+ 'failover' => [
+ 'driver' => 'failover',
+ 'connections' => [
+ 'database',
+ 'deferred',
+ ],
+ ],
+
],
/*
diff --git a/config/services.php b/config/services.php
index 27a3617..6182e4b 100644
--- a/config/services.php
+++ b/config/services.php
@@ -18,16 +18,16 @@
'token' => env('POSTMARK_TOKEN'),
],
+ 'resend' => [
+ 'key' => env('RESEND_KEY'),
+ ],
+
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
- 'resend' => [
- 'key' => env('RESEND_KEY'),
- ],
-
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
diff --git a/config/session.php b/config/session.php
index ba0aa60..bc45901 100644
--- a/config/session.php
+++ b/config/session.php
@@ -13,8 +13,8 @@
| incoming requests. Laravel supports a variety of storage options to
| persist session data. Database storage is a great default choice.
|
- | Supported: "file", "cookie", "database", "apc",
- | "memcached", "redis", "dynamodb", "array"
+ | Supported: "file", "cookie", "database", "memcached",
+ | "redis", "dynamodb", "array"
|
*/
@@ -97,7 +97,7 @@
| define the cache store which should be used to store the session data
| between requests. This must match one of your defined cache stores.
|
- | Affects: "apc", "dynamodb", "memcached", "redis"
+ | Affects: "dynamodb", "memcached", "redis"
|
*/
@@ -129,7 +129,7 @@
'cookie' => env(
'SESSION_COOKIE',
- Str::slug(env('APP_NAME', 'laravel'), '_').'_session'
+ Str::slug((string) env('APP_NAME', 'laravel')).'-session'
),
/*
diff --git a/package.json b/package.json
index 812a1c3..edbc28e 100644
--- a/package.json
+++ b/package.json
@@ -1,4 +1,5 @@
{
+ "$schema": "https://json.schemastore.org/package.json",
"private": true,
"type": "module",
"scripts": {
diff --git a/phpunit.xml b/phpunit.xml
index 61c031c..d703241 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -21,13 +21,15 @@
+
-
+
+