Commit Graph
598 Commits
Author SHA1 Message Date
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 AlaaandTaylor Otwell 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 <[email protected]>
2025-04-02 12:34:19 -05:00
Ahmed AlaaandTaylor Otwell 3549033ac7 [12.x] Refactor: Structural improvement for clarity (#6574)
* Structural improvement for clarity

* Update logging.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
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 https://github.com/laravel/framework/blob/066b740f14461bb1a793ebb9742321ee00974060/config/session.php#L35

Signed-off-by: Mior Muhammad Zaki <[email protected]>
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 <[email protected]>
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 HedgerandTaylor Otwell 3fd8dd8539 Expose lock table name (#6423)
* Expose lock table name

* Update cache.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
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
Martin Bastien 25070a3ffb Fix typo in the comment for token prefix (sanctum config) (#6248) 2023-09-26 20:37:09 -05:00
Stephen Rees-Carter 540cec038f Increase bcrypt rounds to 12 (#6245) 2023-09-22 10:06:29 -05:00
Julius Kiekbusch 74c5a01b09 Let database handle default collation (#6241) 2023-09-19 09:15:38 -05:00
Julius Kiekbusch 96d3ecf5c2 Revert "Fix incorrect collation for MySQL 8 (#6239)" (#6240)
This reverts commit c088b3b765.
2023-09-15 17:29:57 -05:00
Raj Siva-Rajah c088b3b765 Fix incorrect collation for MySQL 8 (#6239) 2023-09-15 08:18:41 -05:00
Taylor Otwell 8dc6ced55b Merge branch '10.x' 2023-09-13 16:03:34 -05:00
Ahmed FathyandTaylor Otwell bfead27a28 [10.x] Update sanctum config file (#6234)
* update sanctum config file

* Update sanctum.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
2023-09-07 10:48:35 -05:00
Taylor Otwell 17f94e3081 fix conflicts 2023-08-31 12:06:32 -05:00
NinjaandTaylor Otwell 32ecad53a9 Postmark mailer configuraiton update. (#6228)
* Update mail.php

ref https://github.com/craigpaul/laravel-postmark/issues/141

* Update mail.php

---------

Co-authored-by: Taylor Otwell <[email protected]>
2023-08-21 14:34:28 -05:00
Jacob Müller e96d21dd2d [11.x]: Use ses-v2 as default ses mail transport (#6205) 2023-06-26 16:40:07 -05:00
Taylor Otwell a6bfbc7f90 add lock path 2023-05-23 16:45:40 -05:00
Jesse Leite 953eae2938 Bring back cluster config option, as required by pusher-js v8.0. (#6174) 2023-05-12 13:39:56 -05:00