Skip to content

Commit 1bb1ad7

Browse files
Laravel 12.x Shift (alexjustesen#2099)
Co-authored-by: Shift <[email protected]>
1 parent 673bef5 commit 1bb1ad7

File tree

19 files changed

+530
-621
lines changed

19 files changed

+530
-621
lines changed

.env.example

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ APP_NAME="Speedtest Tracker"
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=false
5-
APP_TIMEZONE=UTC
65
APP_URL=http://localhost
76

87
APP_LOCALE=en
@@ -12,6 +11,8 @@ APP_FAKER_LOCALE=en_US
1211
APP_MAINTENANCE_DRIVER=file
1312
APP_MAINTENANCE_STORE=database
1413

14+
PHP_CLI_SERVER_WORKERS=4
15+
1516
BCRYPT_ROUNDS=12
1617

1718
LOG_CHANNEL=stack
@@ -42,6 +43,6 @@ MAIL_HOST=mailhog
4243
MAIL_PORT=1025
4344
MAIL_USERNAME=null
4445
MAIL_PASSWORD=null
45-
MAIL_ENCRYPTION=null
46+
MAIL_SCHEME=null
4647
MAIL_FROM_ADDRESS="[email protected]"
4748
MAIL_FROM_NAME="Speedtest Tracker"

.env.testing

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ MAIL_HOST=mailhog
4141
MAIL_PORT=1025
4242
MAIL_USERNAME=null
4343
MAIL_PASSWORD=null
44-
MAIL_ENCRYPTION=null
44+
MAIL_SCHEME=null
4545
MAIL_FROM_ADDRESS="[email protected]"
4646
MAIL_FROM_NAME="Speedtest Tracker"
4747

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
/public/hot
55
/public/storage
66
/storage/*.key
7+
/storage/pail
78
/vendor
89
_ide_helper.php
910
.env
@@ -17,5 +18,6 @@ npm-debug.log
1718
yarn-error.log
1819
/.fleet
1920
/.idea
21+
/.nova
2022
/.phpunit.cache
2123
/.vscode

artisan

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/usr/bin/env php
22
<?php
33

4+
use Illuminate\Foundation\Application;
45
use Symfony\Component\Console\Input\ArgvInput;
56

67
define('LARAVEL_START', microtime(true));
@@ -9,7 +10,9 @@ define('LARAVEL_START', microtime(true));
910
require __DIR__.'/vendor/autoload.php';
1011

1112
// Bootstrap Laravel and handle the command...
12-
$status = (require_once __DIR__.'/bootstrap/app.php')
13-
->handleCommand(new ArgvInput);
13+
/** @var Application $app */
14+
$app = require_once __DIR__.'/bootstrap/app.php';
15+
16+
$status = $app->handleCommand(new ArgvInput);
1417

1518
exit($status);

composer.json

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,37 @@
1818
"awcodes/filament-versions": "^2.0.1",
1919
"chrisullyott/php-filesize": "^4.2.1",
2020
"dragonmantank/cron-expression": "^3.4.0",
21-
"filament/filament": "^3.2.142",
22-
"filament/spatie-laravel-settings-plugin": "^3.2.142",
21+
"filament/filament": "^3.3.4",
22+
"filament/spatie-laravel-settings-plugin": "^3.3.4",
2323
"geerlingguy/ping": "^1.2.1",
24-
"guzzlehttp/guzzle": "^7.9.2",
2524
"influxdata/influxdb-client-php": "^3.7",
26-
"laravel-notification-channels/telegram": "^5.0",
27-
"laravel/framework": "^11.43.2",
25+
"laravel-notification-channels/telegram": "^6.0",
26+
"laravel/framework": "^12.3",
2827
"laravel/prompts": "^0.3.5",
2928
"laravel/sanctum": "^4.0.8",
3029
"laravel/tinker": "^2.10.1",
31-
"livewire/livewire": "3.5.12",
32-
"lorisleiva/laravel-actions": "^2.8.6",
30+
"livewire/livewire": "^3.6.2",
31+
"lorisleiva/laravel-actions": "^2.9",
3332
"maennchen/zipstream-php": "^2.4",
34-
"secondnetwork/blade-tabler-icons": "^3.30.1",
35-
"spatie/laravel-json-api-paginate": "^1.16.2",
33+
"secondnetwork/blade-tabler-icons": "^3.31.0",
34+
"spatie/laravel-json-api-paginate": "^1.16.3",
3635
"spatie/laravel-query-builder": "^6.3.1",
3736
"spatie/laravel-settings": "^3.4.2",
3837
"spatie/laravel-webhook-server": "^3.8.3",
39-
"timokoerber/laravel-one-time-operations": "^1.4.4",
40-
"zircote/swagger-php": "^5.0.4"
38+
"timokoerber/laravel-one-time-operations": "^1.4.5",
39+
"zircote/swagger-php": "^5.0.6"
4140
},
4241
"require-dev": {
4342
"fakerphp/faker": "^1.24.1",
44-
"laravel/pint": "^1.21.0",
43+
"laravel/pint": "^1.21.2",
4544
"laravel/sail": "^1.41.0",
46-
"laravel/telescope": "^5.5.0",
45+
"laravel/telescope": "^5.6.0",
4746
"mockery/mockery": "^1.6.12",
48-
"nunomaduro/collision": "^8.6.1",
49-
"phpunit/phpunit": "^11.5.9",
47+
"nunomaduro/collision": "^8.7.0",
48+
"phpunit/phpunit": "^11.5.13",
5049
"spatie/laravel-ignition": "^2.9.1",
51-
"tightenco/duster": "^3.1.0"
50+
"tightenco/duster": "^3.1.0",
51+
"laravel/pail": "^1.2.2"
5252
},
5353
"autoload": {
5454
"files": [
@@ -80,6 +80,10 @@
8080
],
8181
"post-create-project-cmd": [
8282
"@php artisan key:generate --ansi"
83+
],
84+
"dev": [
85+
"Composer\\Config::disableProcessTimeout",
86+
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
8387
]
8488
},
8589
"funding": [
@@ -107,6 +111,6 @@
107111
"php-http/discovery": true
108112
}
109113
},
110-
"minimum-stability": "dev",
114+
"minimum-stability": "stable",
111115
"prefer-stable": true
112116
}

0 commit comments

Comments
 (0)