Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Carbon v3 #1

Closed
wants to merge 157 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
157 commits
Select commit Hold shift + click to select a range
a40c658
Update ScheduleListCommandTest.php (#49541)
buismaarten Jan 1, 2024
ae79bf0
Clean Arr (#49530)
michaelnabil230 Jan 1, 2024
a5f661f
[10.x] Make ComponentAttributeBag Arrayable (#49524)
iamgergo Jan 1, 2024
f8c6360
[10.x] Fix whenAggregated when default is not specified (#49521)
lovePizza Jan 1, 2024
81b0c16
Apply fixes from StyleCI
StyleCIBot Jan 1, 2024
38fa79e
Update AsArrayObject.php use ARRAY_AS_PROPS (#49534)
pintend Jan 1, 2024
84d28db
don't call `CLIENT SETNAME` on cluster connection (#49560)
tillkruss Jan 3, 2024
f493ec5
remove unused code (#49559)
tillkruss Jan 3, 2024
757848e
[10.x] Flush about command during test runs (#49557)
timacdonald Jan 3, 2024
016ae04
[10.x] Fix parentOfParameter method (#49548)
iamgergo Jan 3, 2024
fa446dc
[10.x] Make the Schema Builder macroable (#49547)
kevinb1989 Jan 3, 2024
6311377
Update facade docblocks
taylorotwell Jan 3, 2024
f434c26
Remove unused code from tests (#49566)
imahmood Jan 3, 2024
551569e
Update Builder.php (#49563)
Grldk Jan 3, 2024
bd3161d
[10.x] Add assertViewEmpty to TestView (#49558)
dwightwatson Jan 3, 2024
194b7a7
[10.x] Update tailwind.blade.php for dark mode (#49515)
sabinchacko03 Jan 3, 2024
9109198
Fix deprecation with null value in cache FileStore (#49578)
driesvints Jan 4, 2024
6d12423
[10.x] Allow Vite asset path customization (#49437)
timacdonald Jan 4, 2024
3141ef2
Update facade docblocks
taylorotwell Jan 4, 2024
840c8d6
more comprehensive type hinting of the $operator parameter (#49599)
lorenzolosa Jan 6, 2024
3559497
Fix Stringable::convertCase() return type (#49590)
vaites Jan 6, 2024
9cd28c1
Allow \Blade::stringable() to be called on native Iterables (#49591)
tsjason Jan 6, 2024
1f252ac
Apply fixes from StyleCI
StyleCIBot Jan 6, 2024
0807344
Refactor time handling using InteractsWithTime trait (#49601)
xurshudyan Jan 6, 2024
d476191
[10.x] Add `assertCount` test helper (#49609)
xurshudyan Jan 7, 2024
29a96eb
Update facade docblocks
taylorotwell Jan 7, 2024
d424ce7
[10.x] Ability to establish connection without using Config Repositor…
deleugpn Jan 7, 2024
4083fa5
Update facade docblocks
taylorotwell Jan 7, 2024
99ef361
[10.x] Add APA style title helper (#49572)
hotmeteor Jan 7, 2024
f357fd8
Apply fixes from StyleCI
StyleCIBot Jan 7, 2024
89f78ca
Update Handler.php (#49614)
Mrjavaci Jan 8, 2024
ab9f7c4
[10.x] Use locks for queue job popping for PlanetScale's MySQL-compat…
crynobone Jan 8, 2024
f089949
Add an option to specify the default path to the models directory
dbhynds Jan 8, 2024
1ee9fdb
Merge branch '10.x'
driesvints Jan 9, 2024
7a94700
version
taylorotwell Jan 9, 2024
e51f146
Change the argument to path
dbhynds Jan 9, 2024
dcc653f
[10.x] Add a `threshold` parameter to the `Number::spell` helper (#49…
caendesilva Jan 9, 2024
299aae5
Update CHANGELOG
driesvints Jan 9, 2024
9455090
Allow an array, but fall back to app/Models
dbhynds Jan 9, 2024
0ca166c
Uses PHP 8.2 on StyleCI (#49625)
nunomaduro Jan 9, 2024
9d687c9
Fix styling and doc block
dbhynds Jan 9, 2024
9ccf003
[11.x] Remove Doctrine DBAL (#48864)
hafezdivandari Jan 9, 2024
61d100a
Revert "[10.x] Make ComponentAttributeBag Arrayable (#49524)" (#49623)
luanfreitasdev Jan 9, 2024
47c2c6f
Fix return value and docblock (#49627)
dwightwatson Jan 9, 2024
b94408d
Merge branch 'master' of https://github.com/dbhynds/framework into db…
taylorotwell Jan 9, 2024
1c496d0
use base path
taylorotwell Jan 9, 2024
8f48538
dispatchIf() and dispatchUnless() for job chains (#49624)
frankiejarrett Jan 9, 2024
e63cea8
fill empty test (#49632)
lioneaglesolutions Jan 10, 2024
784bf76
[11.x] Add additional context to Mailable assertion messages (#49631)
lioneaglesolutions Jan 10, 2024
23b6adc
[11.x] Adds PHPUnit 11 support (#49622)
nunomaduro Jan 10, 2024
81d8ba9
Merge branch '10.x'
nunomaduro Jan 10, 2024
fb1d2c0
Fixes conflict
nunomaduro Jan 10, 2024
af5ba26
Fix return type
driesvints Jan 11, 2024
4bd7f25
Update facade docblocks
driesvints Jan 11, 2024
71d12b5
[11.x] Passes the application instance to `withRouting`'s `then` call…
lukeraymonddowning Jan 11, 2024
0026a0a
[11.x] Avoids `SQLiteConnection::__construct` throwing exceptions (#4…
nunomaduro Jan 11, 2024
ca52cb3
fix adding stored columns on sqlite (#49638)
hafezdivandari Jan 11, 2024
1402487
flush context on all log channels, just not default
taylorotwell Jan 11, 2024
e753742
Update facade docblocks
taylorotwell Jan 11, 2024
8bb98e3
dispatchIf() and dispatchUnless() for batches (#49639)
frankiejarrett Jan 11, 2024
d8e5ec4
[11.x] Use secure randomness in Arr::random() and Arr::shuffle() (#49…
valorin Jan 11, 2024
dbce9d0
flush shared context
taylorotwell Jan 11, 2024
3ae9c40
Merge branch '10.x'
nunomaduro Jan 12, 2024
e68a840
Revert parameter name change (#49659)
timacdonald Jan 12, 2024
7dff807
Update facade docblocks
taylorotwell Jan 12, 2024
534872c
[10.x] Printing Name of The Method that Calls `ensureIntlExtensionIsI…
devajmeireles Jan 12, 2024
47af503
Update pagination tailwind.blade.php (#49665)
anasmorahhib Jan 12, 2024
4025748
[11.x] Define global validation logic for Laravel Prompts (#49497)
cerbero90 Jan 12, 2024
ec6e169
Apply fixes from StyleCI
StyleCIBot Jan 12, 2024
f812cf9
[10.x] feat: add base argument to Stringable->toInteger() (#49670)
adamczykpiotr Jan 13, 2024
6d2f90b
[10.x]: Remove unused class ShouldBeUnique when make a job (#49669)
Kenini1805 Jan 13, 2024
c7d5e0e
[10.x] Add tests for Eloquent methods (#49673)
milwad-dev Jan 14, 2024
fc0b687
Implement draft workflow (#49683)
driesvints Jan 15, 2024
024442d
code (#49681)
devajmeireles Jan 15, 2024
c1e78c4
Update pull-requests.yml
driesvints Jan 15, 2024
11dd644
[10.x] Test Improvements (#49679)
crynobone Jan 15, 2024
9fec940
[10.x] Officially support floats in trans_choice (#49693)
philbates35 Jan 15, 2024
4d8c49f
Update facade docblocks
taylorotwell Jan 15, 2024
8f29cc9
[11.x] Support eager loading with limit (#49695)
staudenmeir Jan 15, 2024
637b814
Apply fixes from StyleCI
StyleCIBot Jan 15, 2024
8d4eaeb
Use a static function (#49696)
michaelnabil230 Jan 16, 2024
7cbdae5
Revert "[10.x] Improve numeric comparison for custom casts" (#49702)
driesvints Jan 16, 2024
03eabd5
[10.x] Add exit code to queue:clear, and queue:forget commands (#49707)
bytestream Jan 16, 2024
94d0fd7
Allow StreamInterface as raw HTTP Client body (#49705)
janolivermr Jan 16, 2024
d056aab
Update facade docblocks
taylorotwell Jan 16, 2024
da31969
version
taylorotwell Jan 16, 2024
6e9f185
adjust literal, add tests
taylorotwell Jan 16, 2024
dc8b91c
Apply fixes from StyleCI
StyleCIBot Jan 16, 2024
158767f
Update CHANGELOG
driesvints Jan 16, 2024
f630b39
Merge branch '10.x'
crynobone Jan 17, 2024
53e3246
[11.x] Flush `RegisterProviders` bootstrapper state between tests (#4…
crynobone Jan 17, 2024
72e9965
Switch to hash_equals (#49721)
simonhamp Jan 17, 2024
d710a01
fix Rule::unless for callable (#49726)
dbakan Jan 17, 2024
c62d15b
[10.x] Adds JobQueueing event (#49722)
dmason30 Jan 17, 2024
5d520eb
format message
taylorotwell Jan 17, 2024
7fcb2f7
wip
taylorotwell Jan 17, 2024
089bb07
Merge branch '10.x'
nunomaduro Jan 18, 2024
ffc0943
Slim comments
nunomaduro Jan 18, 2024
3b9f907
[11.x] Allow `RouteServiceProvider` to be loaded more than once (#49732)
crynobone Jan 18, 2024
c9cc5aa
[11.x] Add ExcludesPaths middleware trait (#49734)
gdebrauwer Jan 18, 2024
3acc1d0
[10.x] Fix decoding issue in MailLogTransport (#49727)
rojtjo Jan 18, 2024
8317461
fix spatial types (#49634)
hafezdivandari Jan 18, 2024
443ec44
Implement "max" validation rule for passwords (#49739)
angelej Jan 19, 2024
24afd8b
Merge branch '10.x'
nunomaduro Jan 19, 2024
95aa29f
[11.x] Adds `once` memoization function (#49744)
nunomaduro Jan 19, 2024
ac5bed5
[10.x] Add multiple channels/routes to AnonymousNotifiable at once (#…
iamgergo Jan 20, 2024
346783f
[11.x] Send cache name to event (#49754)
chu121su12 Jan 20, 2024
e13c92f
Apply fixes from StyleCI
StyleCIBot Jan 20, 2024
c20bb39
Update facade docblocks
taylorotwell Jan 20, 2024
4a1b6ea
update values for an sqlite default world (#49758)
taylorotwell Jan 20, 2024
284c341
default to create database if it does not exist
taylorotwell Jan 20, 2024
6d3128a
shortcut for authenticated sessions
taylorotwell Jan 20, 2024
3b149ae
allow publishing of config-stubs if they exist
taylorotwell Jan 20, 2024
7d7c45a
Apply fixes from StyleCI
StyleCIBot Jan 20, 2024
37eea84
[10x] Sort service providers alphabetically (#49762)
buismaarten Jan 21, 2024
808debb
basePath
taylorotwell Jan 21, 2024
8a7e0e0
Update facade docblocks
taylorotwell Jan 21, 2024
1fe1280
update methods
taylorotwell Jan 21, 2024
b754ca6
[10.x] Global default options for the http factory (#49767)
timacdonald Jan 21, 2024
d4f9dab
Update facade docblocks
taylorotwell Jan 21, 2024
5125d5f
Reduce failure rate of Arr::shuffle() tests (#49769)
valorin Jan 22, 2024
e364c47
[10.x] Only use `Carbon` if accessed from Laravel or also uses (#49772)
crynobone Jan 22, 2024
cb9d382
[11.x] Update `composer.json` and marked `spatie/once` as replaced. (…
crynobone Jan 22, 2024
4c71f54
Fixes default db envs (#49778)
nunomaduro Jan 22, 2024
dfc24d1
[11.x] Fake Queue Interactions (#49766)
taylorotwell Jan 22, 2024
45ea409
[11.x] Fixes duplicate `replace` on `composer.json` (#49781)
nunomaduro Jan 22, 2024
cb9983c
[10.x] Add `Str::unwrap` (#49779)
stevebauman Jan 22, 2024
eab9787
Requires Guzzle by default (#49784)
nunomaduro Jan 22, 2024
91bc0f6
Allow Uuid and Ulid in Carbon::createFromId() (#49783)
kylekatarnls Jan 22, 2024
969fb0b
use file driver
taylorotwell Jan 22, 2024
d7616a1
[10.x] Test Improvements (#49785)
crynobone Jan 22, 2024
d7d19b2
Merge branch '10.x'
crynobone Jan 22, 2024
a387d12
[11.x] Fixes database build steps for GitHub Actions (#49786)
crynobone Jan 23, 2024
f1a8498
accept arrays
taylorotwell Jan 23, 2024
1896c9d
wip
taylorotwell Jan 23, 2024
43f31a1
[11.x] Adjusts default mail environment variables (#49809)
nunomaduro Jan 24, 2024
1c56736
[11.x] Upgrade to Carbon v3 (#49764)
kylekatarnls Jan 24, 2024
7dcd191
Revert "[11.x] Upgrade to Carbon v3 (#49764)" (#49811)
nunomaduro Jan 24, 2024
4187b06
[11.x] Remove Database Deprecations (#49810)
hafezdivandari Jan 24, 2024
a9c916c
add note to generated provider file
taylorotwell Jan 24, 2024
227b929
add registered method
taylorotwell Jan 24, 2024
2080a6c
class make and interface make
taylorotwell Jan 24, 2024
6d4bbb5
Apply fixes from StyleCI
StyleCIBot Jan 24, 2024
e0d5537
simple health endpoint
taylorotwell Jan 24, 2024
5115dd8
add files
taylorotwell Jan 24, 2024
bdd3ffd
[11.x] Expose queue name and delay on job queue events (#49837)
stayallive Jan 25, 2024
8aeb7be
resend support
taylorotwell Jan 25, 2024
4e4bf17
Merge branch 'resend'
taylorotwell Jan 25, 2024
1729b20
throw transport exception
taylorotwell Jan 25, 2024
bb272ba
[11.x] Fix docblock and property initialization (#49844)
nshiro Jan 26, 2024
7802fd9
add to suggest
taylorotwell Jan 26, 2024
b2ffcc1
Add Resend library to require-dev
driesvints Jan 26, 2024
47d4fa6
Revert "Revert "[11.x] Upgrade to Carbon v3 (#49764)" (#49811)"
kylekatarnls Jan 26, 2024
aba2dc3
Allow both Carbon 2 and 3
kylekatarnls Jan 26, 2024
3c29e60
Test Carbon 3 with GitHub Actions
kylekatarnls Jan 26, 2024
7dc574a
Update composer.json
driesvints Jan 26, 2024
3d7c206
Update src/Illuminate/Support/composer.json
driesvints Jan 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/databases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
image: mysql:5.7
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: forge
MYSQL_DATABASE: laravel
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
Expand Down Expand Up @@ -51,7 +51,6 @@ jobs:
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: mysql
DB_USERNAME: root
MYSQL_COLLATION: utf8mb4_unicode_ci

mysql_8:
Expand All @@ -62,7 +61,7 @@ jobs:
image: mysql:8
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: forge
MYSQL_DATABASE: laravel
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
Expand Down Expand Up @@ -97,7 +96,6 @@ jobs:
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: mysql
DB_USERNAME: root

mariadb:
runs-on: ubuntu-22.04
Expand All @@ -107,7 +105,7 @@ jobs:
image: mariadb:10
env:
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_DATABASE: forge
MYSQL_DATABASE: laravel
ports:
- 3306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
Expand Down Expand Up @@ -142,7 +140,6 @@ jobs:
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: mariadb
DB_USERNAME: root

pgsql:
runs-on: ubuntu-22.04
Expand All @@ -151,7 +148,7 @@ jobs:
postgresql:
image: postgres:14
env:
POSTGRES_DB: forge
POSTGRES_DB: laravel
POSTGRES_USER: forge
POSTGRES_PASSWORD: password
ports:
Expand Down Expand Up @@ -188,6 +185,7 @@ jobs:
run: vendor/bin/phpunit tests/Integration/Database
env:
DB_CONNECTION: pgsql
DB_USERNAME: forge
DB_PASSWORD: password

mssql:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ permissions:
pull-requests: write

jobs:
uneditable:
pull-requests:
uses: laravel/.github/.github/workflows/pull-requests.yml@main
29 changes: 27 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ jobs:
fail-fast: true
matrix:
php: [8.2, 8.3]
phpunit: ['10.5', '11.0']
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }}

steps:
- name: Checkout code
Expand All @@ -69,6 +70,22 @@ jobs:
max_attempts: 5
command: composer require guzzlehttp/psr7:^2.4 --no-interaction --no-update

# TODO: Remove this step once Carbon 3 tagged as stable
- name: Test Carbon 3
if: matrix.stability == 'prefer-stable'
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer require nesbot/carbon:^3.0.0-beta.3@beta --no-interaction --no-update

- name: Set PHPUnit
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer require phpunit/phpunit:^${{ matrix.phpunit }} --dev --no-interaction --no-update

- name: Install dependencies
uses: nick-fields/retry@v2
with:
Expand Down Expand Up @@ -101,9 +118,10 @@ jobs:
fail-fast: true
matrix:
php: [8.2, 8.3]
phpunit: ['10.5', '11.0']
stability: [prefer-lowest, prefer-stable]

name: PHP ${{ matrix.php }} - ${{ matrix.stability }} - Windows
name: PHP ${{ matrix.php }} - PHPUnit ${{ matrix.phpunit }} - ${{ matrix.stability }} - Windows

steps:
- name: Set git to use LF
Expand Down Expand Up @@ -131,6 +149,13 @@ jobs:
max_attempts: 5
command: composer require guzzlehttp/psr7:~2.4 --no-interaction --no-update

- name: Set PHPUnit
uses: nick-fields/retry@v2
with:
timeout_minutes: 5
max_attempts: 5
command: composer require phpunit/phpunit:~${{ matrix.phpunit }} --dev --no-interaction --no-update

- name: Install dependencies
uses: nick-fields/retry@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
php:
preset: laravel
version: 8.1
version: 8.2
finder:
not-name:
- bad-syntax-strategy.php
Expand Down
28 changes: 13 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
"dragonmantank/cron-expression": "^3.3.2",
"egulias/email-validator": "^3.2.1|^4.0",
"fruitcake/php-cors": "^1.3",
"guzzlehttp/guzzle": "^7.8",
"guzzlehttp/uri-template": "^1.0",
"laravel/prompts": "^0.1.12",
"laravel/prompts": "^0.1.15",
"laravel/serializable-closure": "^1.3",
"league/commonmark": "^2.2.1",
"league/flysystem": "^3.8.0",
"monolog/monolog": "^3.0",
"nesbot/carbon": "^2.67",
"nesbot/carbon": "^2.72.2|^3.0.0-beta.3@beta",
"nunomaduro/termwind": "^2.0",
"psr/container": "^1.1.1|^2.0.1",
"psr/log": "^1.0|^2.0|^3.0",
Expand Down Expand Up @@ -90,15 +91,14 @@
"illuminate/testing": "self.version",
"illuminate/translation": "self.version",
"illuminate/validation": "self.version",
"illuminate/view": "self.version"
"illuminate/view": "self.version",
"spatie/once": "*"
},
"require-dev": {
"ext-gmp": "*",
"ably/ably-php": "^1.0",
"aws/aws-sdk-php": "^3.235.5",
"doctrine/dbal": "^4.0",
"fakerphp/faker": "^1.23",
"guzzlehttp/guzzle": "^7.8",
"league/flysystem-aws-s3-v3": "^3.0",
"league/flysystem-ftp": "^3.0",
"league/flysystem-path-prefixing": "^3.3",
Expand All @@ -109,21 +109,20 @@
"orchestra/testbench-core": "^9.0",
"pda/pheanstalk": "^5.0",
"phpstan/phpstan": "^1.4.7",
"phpunit/phpunit": "^10.5",
"phpunit/phpunit": "^10.5|^11.0",
"predis/predis": "^2.0.2",
"resend/resend-php": "^0.10.0",
"symfony/cache": "^7.0",
"symfony/http-client": "^7.0",
"symfony/psr-http-message-bridge": "^7.0"
},
"conflict": {
"tightenco/collect": "<5.5.33"
},
"provide": {
"psr/container-implementation": "1.1|2.0",
"psr/simple-cache-implementation": "1.0|2.0|3.0"
},
"conflict": {
"carbonphp/carbon-doctrine-types": "<3.0.0|>=4.0",
"doctrine/dbal": "<4.0.0|>=5.0",
"tightenco/collect": "<5.5.33"
},
"autoload": {
"files": [
"src/Illuminate/Collections/helpers.php",
Expand Down Expand Up @@ -166,11 +165,9 @@
"ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).",
"ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",
"aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).",
"brianium/paratest": "Required to run tests in parallel (^6.0).",
"doctrine/dbal": "Required to rename columns and drop SQLite columns (^4.0).",
"brianium/paratest": "Required to run tests in parallel (^7.0|^8.0).",
"fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).",
"filp/whoops": "Required for friendly error pages in development (^2.14.3).",
"guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.8).",
"laravel/tinker": "Required to use the tinker console command (^2.0).",
"league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).",
"league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).",
Expand All @@ -180,10 +177,11 @@
"mockery/mockery": "Required to use mocking (^1.6).",
"nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).",
"pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).",
"phpunit/phpunit": "Required to use assertions and run tests (^10.5).",
"phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).",
"predis/predis": "Required to use the predis connector (^2.0.2).",
"psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).",
"pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).",
"resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).",
"symfony/cache": "Required to PSR-6 cache bridge (^7.0).",
"symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).",
"symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).",
Expand Down
146 changes: 146 additions & 0 deletions config-stubs/app.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
<?php

return [

/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application, which will be used when the
| framework needs to place the application's name in a notification or
| any other location as required by the application or its packages.
|
*/

'name' => env('APP_NAME', 'Laravel'),

/*
|--------------------------------------------------------------------------
| Application Environment
|--------------------------------------------------------------------------
|
| This value determines the "environment" your application is currently
| running in. This may determine how you prefer to configure various
| services the application utilizes. Set this in your ".env" file.
|
*/

'env' => env('APP_ENV', 'production'),

/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
*/

'debug' => (bool) env('APP_DEBUG', false),

/*
|--------------------------------------------------------------------------
| Application URL
|--------------------------------------------------------------------------
|
| This URL is used by the console to properly generate URLs when using
| the Artisan command line tool. You should set this to the root of
| your application so that it is used when running Artisan tasks.
|
*/

'url' => env('APP_URL', 'http://localhost'),

'frontend_url' => env('FRONTEND_URL', 'http://localhost:3000'),

'asset_url' => env('ASSET_URL'),

/*
|--------------------------------------------------------------------------
| Application Timezone
|--------------------------------------------------------------------------
|
| Here you may specify the default timezone for your application, which
| will be used by the PHP date and date-time functions. The timezone
| is set to "UTC" by default as it is suitable for most use cases.
|
*/

'timezone' => env('APP_TIMEZONE', 'UTC'),

/*
|--------------------------------------------------------------------------
| Application Locale Configuration
|--------------------------------------------------------------------------
|
| The application locale determines the default locale that will be used
| by the translation service provider. You are free to set this value
| to any of the locales which will be supported by the application.
|
*/

'locale' => env('APP_LOCALE', 'en'),

/*
|--------------------------------------------------------------------------
| Application Fallback Locale
|--------------------------------------------------------------------------
|
| The fallback locale determines the locale to use when the default one
| is not available. You may change the value to correspond to any of
| the languages which are currently supported by your application.
|
*/

'fallback_locale' => env('APP_FALLBACK_LOCALE', 'en'),

/*
|--------------------------------------------------------------------------
| Faker Locale
|--------------------------------------------------------------------------
|
| This locale will be used by the Faker PHP library when generating fake
| data for your database seeds. For example, this will be used to get
| localized telephone numbers, street address information and more.
|
*/

'faker_locale' => env('APP_FAKER_LOCALE', 'en_US'),

/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| This key is utilized by Laravel's encryption services and should be set
| to a random, 32 character string to ensure that all encrypted values
| are secure. You should do this prior to deploying the application.
|
*/

'key' => env('APP_KEY'),

'cipher' => 'AES-256-CBC',

/*
|--------------------------------------------------------------------------
| Maintenance Mode Driver
|--------------------------------------------------------------------------
|
| These configuration options determine the driver used to determine and
| manage Laravel's "maintenance mode" status. The "cache" driver will
| allow maintenance mode to be controlled across multiple machines.
|
| Supported drivers: "file", "cache"
|
*/

'maintenance' => [
'driver' => env('APP_MAINTENANCE_DRIVER', 'cache'),
'store' => env('APP_MAINTENANCE_STORE', 'database'),
],

];
4 changes: 2 additions & 2 deletions config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@
|--------------------------------------------------------------------------
|
| This key is utilized by Laravel's encryption services and should be set
| to a random, 32 character string or all of the encrypted strings are
| not secure. You should do this prior to deploying the application.
| to a random, 32 character string to ensure that all encrypted values
| are secure. You should do this prior to deploying the application.
|
*/

Expand Down
Loading