590 Commits

Author SHA1 Message Date
Andrew Brown
79a94de4dd
remove APP_TIMEZONE environment variable (#6536)
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
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
Some checks are pending
Tests / PHP 8.2 (push) Waiting to run
Tests / PHP 8.3 (push) Waiting to run
Tests / PHP 8.4 (push) Waiting to run
2025-02-11 11:57:06 -06:00
Mior Muhammad Zaki
4760fcd6c5
Sync session.lifetime configuration (#6522)
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled
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 74c5a01b09b24950cfcffbbc3bad9c2749f7388b.
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 c088b3b7655fd2bc8c53d883f90f53e65bacc3e7.
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 Fathy
bfead27a28
[10.x] Update sanctum config file (#6234)
* update sanctum config file

* Update sanctum.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-09-07 10:48:35 -05:00
Taylor Otwell
17f94e3081 fix conflicts 2023-08-31 12:06:32 -05:00
Ninja
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 <taylor@laravel.com>
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
Saya
150e379ce2
Update mail.php (#6170) 2023-05-05 12:42:51 -05:00
Taylor Otwell
ebf9d30bf3
[10.x] Minor skeleton slimming (#6159)
* remove rate limiter from route provider by default

* remove policy place holder

* remove broadcast skeleton in favor of new provider in core

* use default provider collection

* Remove unnecessary properties from exception handler.

* add back broadcast provider

* update comment

* add rate limiting

* Apply fixes from StyleCI

* fix formatting

---------

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-04-15 16:53:39 -05:00
André Olsen
0bcd012dc0
Add job batching options to Queue configuration file (#6149)
* add batching config options to queue config file

This adds the batching configuration options to the queue configuration skeleton, so everyone has a faster way of knowing that it's possible to customize the database connection and table options.

* formatting

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-04-05 10:03:08 -05:00
Alan Poulain
9ae75b58a1
[10.x] Add replace_placeholders to log channels (#6139)
* add replace_placeholders to log channels

* Update logging.php

---------

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2023-03-08 10:57:09 -06:00
Nico
22df611a2f
Specify facility in the syslog driver config (#6130) 2023-02-28 00:07:48 +05:30
Izzudin Anuar
a337b99dfb
Fix typo (#6128) 2023-02-25 23:37:54 +05:30
Tim MacDonald
e121424f90
Reverts #6089 (#6122) 2023-02-20 05:05:45 -06:00
Taylor Otwell
1bb530c609
Revert "add ses-v2 mailer in config (#6112)" (#6115)
This reverts commit a1ef009415003fe981fc0f4a60ce9c4faf35f9f1.
2023-02-17 08:38:44 -06:00