diff --git a/composer.json b/composer.json index e41d7d5..ccfd6ee 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ "require": { "php": "^8.4", "intervention/image": "^3.11", - "kyledoesdev/essentials": "^0.0.7", + "kyledoesdev/essentials": "^0.0.9", "laravel/framework": "^13.0", "laravel/nightwatch": "^1.8", "laravel/socialite": "^5.18", diff --git a/composer.lock b/composer.lock index be0fc86..f5eda1f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "382d9bbeb35740c223d00c6145ebefe5", + "content-hash": "40c91121cc1b54bc21fb802030080df6", "packages": [ { "name": "aws/aws-crt-php", @@ -1420,23 +1420,23 @@ }, { "name": "kyledoesdev/essentials", - "version": "v0.0.7", + "version": "v0.0.9", "source": { "type": "git", "url": "https://github.com/kyledoesdev/essentials.git", - "reference": "432041c5e4a7c0113c7252185bc4bc332324c1c3" + "reference": "34879ed7c77cbd8151440302cb443cf84e983d6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/kyledoesdev/essentials/zipball/432041c5e4a7c0113c7252185bc4bc332324c1c3", - "reference": "432041c5e4a7c0113c7252185bc4bc332324c1c3", + "url": "https://api.github.com/repos/kyledoesdev/essentials/zipball/34879ed7c77cbd8151440302cb443cf84e983d6c", + "reference": "34879ed7c77cbd8151440302cb443cf84e983d6c", "shasum": "" }, "require": { "illuminate/contracts": "^12.0|^13.0", "illuminate/http": "^12.0|^13.0", "illuminate/support": "^12.0|^13.0", - "php": "^8.4", + "php": "^8.4|^8.5", "spatie/laravel-package-tools": "^1.16", "spatie/laravel-stats": "^2.3" }, @@ -1488,9 +1488,9 @@ ], "support": { "issues": "https://github.com/kyledoesdev/essentials/issues", - "source": "https://github.com/kyledoesdev/essentials/tree/v0.0.7" + "source": "https://github.com/kyledoesdev/essentials/tree/v0.0.9" }, - "time": "2026-04-24T22:56:10+00:00" + "time": "2026-08-01T22:14:13+00:00" }, { "name": "laravel/framework", diff --git a/config/database.php b/config/database.php index 95b7cd4..ffb5035 100644 --- a/config/database.php +++ b/config/database.php @@ -63,9 +63,9 @@ 'prefix_indexes' => true, 'strict' => true, 'engine' => null, - 'options' => extension_loaded('pdo_mysql') ? array_filter([ + /* 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), - ]) : [], + ]) : [], */ ], 'mariadb' => [ @@ -83,9 +83,9 @@ 'prefix_indexes' => true, 'strict' => true, 'engine' => null, - 'options' => extension_loaded('pdo_mysql') ? array_filter([ + /* 'options' => extension_loaded('pdo_mysql') ? array_filter([ PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'), - ]) : [], + ]) : [], */ ], 'pgsql' => [ diff --git a/config/essentials.php b/config/essentials.php index 9781468..f4944ee 100644 --- a/config/essentials.php +++ b/config/essentials.php @@ -3,5 +3,7 @@ return [ 'timezone' => [ 'local_envs' => explode(',', (string) env('LOCAL_ENVS', 'local,development,dev')), + 'ttl' => (int) env('TIMEZONE_CACHE_TTL', 86400), + 'retry_after' => (int) env('TIMEZONE_RETRY_AFTER', 300), ], ];