Commit Graph

610 Commits

Author SHA1 Message Date
Taylor Otwell
b8344c35ba add deferred queue 2025-10-17 07:10:07 -05:00
Taylor Otwell
7db142b5c6 deferred queue config 2025-10-17 05:14:52 -05:00
Sajjad Hossain Shohag
ce337914f3 Update queue.php (#6688) 2025-10-15 07:56:37 -05:00
Taylor Otwell
976c622ae9 update failover 2025-10-15 07:54:45 -05:00
Taylor Otwell
e072464072 add failover driver 2025-10-13 20:17:40 -05:00
Taylor Otwell
4d04f68ef9 fix database 2025-09-10 14:30:39 -05:00
Ahmed Alaa
a696e5fd51 Fix type casting for environment variables in config files (#6670) 2025-09-07 17:58:17 -05:00
Taylor Otwell
39072d072c move some items into pragmas 2025-09-07 17:40:40 -05:00
Mateus Guimarães
9905b67c79 [12.x] Add default Redis retry configuration (#6666)
* first pass

* first pass

* Remove match

* Update database.php
2025-08-29 12:40:11 -05:00
Taylor Otwell
5b585a2278 deferred option 2025-08-26 10:10:45 -05:00
Robert Boes
902200e7aa Revert "fix" (#6646)
This reverts commit dd473eaddc.
2025-07-28 08:49:50 -06:00
Ahmed Alaa
4ab121576e [12.x] Fix type casting for environment variables in config files (#6637)
* Update app.php

* Update cache.php

* Update database.php

* Update logging.php

* Update mail.php
2025-07-03 08:32:07 -05:00
Taylor Otwell
dd473eaddc fix 2025-07-02 18:42:49 -04:00
Jonathan Goode
9a177b073b Change to hyphenate prefixes and cookie names (#6636) 2025-06-28 19:24:37 +02:00
Khaled Huthaily
cd854afd59 fix alphabetical order (#6627)
move `resend` before `ses`
2025-06-06 10:09:38 -05:00
Wogan May
1c027454d9 Minor language update (#6615)
PhpStorm's Natural Language module recommends this change to a countable noun, which happens to be exactly 6 characters long, so as to not affect the overall length of the line, while still making it ever-so-slightly more parseable.
2025-05-19 12:03:18 -05:00
Ahmed Alaa
468d945836 remove apc (#6611) 2025-05-15 10:09:47 -05:00
Taylor Otwell
2d8f562092 remove apc 2025-05-11 20:55:57 -05:00
Ahmed Alaa
6087e4fd3b [12.x] Update config/mail.php to match the latest core configuration (#6594)
* Update config/mail.php to match the latest core configuration

* Update mail.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2025-04-02 12:34:19 -05:00
Ahmed Alaa
3549033ac7 [12.x] Refactor: Structural improvement for clarity (#6574)
* Structural improvement for clarity

* Update logging.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2025-03-10 12:07:54 -05:00
Andrew Brown
79a94de4dd remove APP_TIMEZONE environment variable (#6536)
force the timezone to be defined in the config file, rather than deferring to an environment variable.

IMO having the timezone dependent on an environment variable adds an unnecessary amount of risk for your average user who may be unaware of the effects from changing this value.

some scenarios where this could cause issues:

- devs set this value to their local timezone on their local dev machines, and they are writing `Carbon:create()` commands or similar that now are working only under the assumption of that timezone value
- you have multiple production servers setup across the country and each has their own timezone value according to their location, but they all talk to a central database. now the database is loaded with mixed timezone variables

having an explicit value defined once for the application removes these risks.

reverts part of #6188
2025-02-12 10:13:57 -06:00
Taylor Otwell
55738c0c4e add REDIS_PERSISTENT env var 2025-02-11 11:57:06 -06:00
Mior Muhammad Zaki
4760fcd6c5 Sync session.lifetime configuration (#6522)
See 066b740f14/config/session.php (L35)

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
2025-01-23 08:05:06 -06:00
Taylor Otwell
91b4096490 update filesystem config 2025-01-21 09:03:57 -06:00
Mior Muhammad Zaki
eb8085cf77 [11.x] Update config/mail.php with supported configuration (#6506)
Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
2024-12-13 07:57:40 -06:00
Taylor Otwell
bab16982dd private files (#6450) 2024-09-11 15:12:40 -05:00
Taylor Otwell
2897a49c65 add sqlite options 2024-07-16 09:39:20 -05:00
StyleCI Bot
47fb90a8ca Apply fixes from StyleCI 2024-06-20 14:41:46 +00:00
Nicolas Hedger
3fd8dd8539 Expose lock table name (#6423)
* Expose lock table name

* Update cache.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2024-06-20 09:41:28 -05:00
maru0914
ad38e564ac Format the first letter of drivers to lowercase (#6413) 2024-06-04 08:28:32 -05:00
Ricardo Čerljenko
b651fb109c updated mail config (#6402) 2024-05-16 16:36:21 -05:00
Taylor Otwell
4b1588713d add resend 2024-05-03 12:16:26 -05:00
Taylor Otwell
e7cc5778a0 resend 2024-05-03 12:14:44 -05:00
Jonathan Goode
cf0b40b878 Remove obsolete driver option (#6395) 2024-04-19 10:12:29 -05:00
Jonathan Goode
3cb22426e1 Add missing roundrobin transport driver config (#6392) 2024-04-09 09:13:45 -05:00
Dries Vints
6f5d9b8888 Fix retry_after to be an integer (#6377) 2024-03-15 09:02:06 -05:00
Sergey Pashkevich
eb8f9dc2d6 [11.x] Removed useless null parameter for env helper (#6373) 2024-03-15 11:19:40 +01:00
Sergey Pashkevich
51c4166bfb [11.x] Removed useless null parameter for env helper (cache.php) (#6374) 2024-03-15 11:18:22 +01:00
Dries Vints
087543a48c Revert collation change (#6372) 2024-03-14 14:51:29 +01:00
Taylor Otwell
79969c99c6 change mariadb default 2024-03-13 11:41:47 -05:00
Jason McCreary
1ee7849389 Add DB_CHARSET + DB_COLLATION (#6355) 2024-03-05 10:36:39 -06:00
Nuno Maduro
9ec283d28e Uses env on postmark email commented code as docs (#6350) 2024-02-25 08:09:51 -06:00
Nuno Maduro
f12dd8de26 Removes broadcasting (#6351) 2024-02-25 08:08:58 -06:00
Taylor Otwell
f437205a5e slim configuration 2024-02-23 14:35:25 -06:00
Taylor Otwell
96508d43ec wip 2024-02-23 11:53:06 -06:00
Taylor Otwell
428a190050 [11.x] Slim skeleton (#6188)
See: https://github.com/laravel/framework/pull/47309

# Laravel 11 Skeleton Overview

### General Notes

More environment variables have been added to the `.env.example` file. 

The default `QUEUE_CONNECTION` variable value has been updated to `database` instead of `sync`.

The `BROADCAST_DRIVER` and `CACHE_DRIVER` environment variables have been renamed to `BROADCAST_CONNECTION` and `CACHE_STORE`, respectively.

The HTTP Kernel has been removed. Configuration that was previously done in this file can be done in the `bootstrap/app.php` file, including registering / replacing middleware.

The console kernel has been removed. Schedules can be defined in the console “routes” file. Commands generated by `make:command` are automatically loaded and do not require registration. Additional command loading paths can be registered in the `bootstrap/app.php` file.

The exception handler has been removed. Exception handling behavior can be configured in the `bootstrap/app.php` file via `reportable`, `renderable`, `throttle`, and more. Callbacks received by these functions will have their type hints inspected to see if they handle a given exception.

The base HTTP controller no longer extends any other classes (requiring new middleware definition feature). No traits are included by default on the base controller. Authorization can be done using facades, or traits can be added manually.

All middleware has been removed. Configuration of these middleware’s behavior can be done via static methods on the middleware themselves (see framework notes).

The `User` model now utilizes a `casts` method instead of a property. The `HasApiTokens` trait has been removed by default since Sanctum is not installed by default.

All service providers except the `AppServiceProvider` have been removed. Policies are auto-discovered and gates can be registered in `AppServiceProvider`. Likewise, events can be registered in `AppServiceProvider`. Routing behavior is now determined / customized in the `bootstrap/app.php` file.

New `bootstrap/app.php` file can be used to customize core framework behavior like routing, container bindings, middleware, and exception handling.

Sanctum is no longer installed by default (see `install:api`).

Configuration files are not present by default. Can be published by `config:publish` command. Default values are present in the framework and application level configuration now cascades with framework definitions, so only customized values need be present in application level configuration files.

Migration files have been re-dated to be evergreen. The `password_reset_tokens` table migration has been combined into the `users` table migration file. Likewise, the `jobs` table migration has been combined into a single migration with the `failed_jobs` table.

Echo bootstrapping has been removed by default. It is re-inserted by new `install:broadcasting` command.

API and channel routes files are not present by default, can be recreated by `install:api` and `install:broadcasting` respectively.
2023-11-28 14:28:15 -06:00
Taylor Otwell
de6d4f58cc fixing conflicts 2023-11-06 17:31:18 -06:00
Taylor Otwell
024c86a24b Revert "Let database handle default collation (#6241)" (#6266)
This reverts commit 74c5a01b09.
2023-11-02 08:42:28 -05:00
hedge-freek
ad1c5fe4c2 Redis maintenance store config example contains an excess space (#6264)
Binary operators should be surrounded by space a single space.
2023-10-31 09:38:55 -05:00
Tim MacDonald
21ad6d6915 Verify algo (#6258) 2023-10-25 14:32:54 -05:00