Skip to content

Commit ee57ee0

Browse files
Update dependencies including Laravel 12 (#82)
* Update dependencies including Laravel 12 * Update files with latest version from laravel/laravel
1 parent bea8649 commit ee57ee0

File tree

7 files changed

+496
-510
lines changed

7 files changed

+496
-510
lines changed

artisan

+5-2
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

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"barryvdh/laravel-dompdf": "^3.1",
99
"guzzlehttp/guzzle": "^7.9",
1010
"intervention/validation": "^4.5",
11-
"laravel/framework": "^11.42",
11+
"laravel/framework": "^12.1",
1212
"laravel/sanctum": "^4.0",
1313
"laravel/tinker": "^2.10",
1414
"livewire/livewire": "^3.5",
@@ -21,7 +21,7 @@
2121
"require-dev": {
2222
"barryvdh/laravel-debugbar": "^3.14",
2323
"fakerphp/faker": "^1.24",
24-
"kkomelin/laravel-translatable-string-exporter": "^1.22",
24+
"kkomelin/laravel-translatable-string-exporter": "^1.23",
2525
"mockery/mockery": "^1.6",
2626
"nunomaduro/collision": "^8.6",
2727
"phpunit/phpunit": "^11.5",

composer.lock

+282-290
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

+194-210
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
"production": "mix --production"
1717
},
1818
"devDependencies": {
19-
"@eslint/js": "^9.20.0",
19+
"@eslint/js": "^9.22.0",
2020
"@fortawesome/fontawesome-free": "^6.7.2",
2121
"alpinejs": "^3.14.8",
2222
"bootstrap": "^5.3.3",
23-
"eslint": "^9.20.1",
23+
"eslint": "^9.22.0",
2424
"fs-extra": "^11.3.0",
2525
"laravel-mix": "^6.0.49",
2626
"laravel-mix-make-file-hash": "^2.2.0",
2727
"resolve-url-loader": "^5.0.0",
28-
"sass": "^1.85.0",
28+
"sass": "^1.85.1",
2929
"sass-loader": "^16.0.5",
30-
"stylelint": "^16.14.1",
30+
"stylelint": "^16.15.0",
3131
"stylelint-config-recommended-scss": "^14.1.0"
3232
},
3333
"stylelint": {

public/.htaccess

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
RewriteCond %{HTTP:Authorization} .
1010
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
1111

12+
# Handle X-XSRF-Token Header
13+
RewriteCond %{HTTP:x-xsrf-token} .
14+
RewriteRule .* - [E=HTTP_X_XSRF_TOKEN:%{HTTP:X-XSRF-Token}]
15+
1216
# Redirect Trailing Slashes If Not A Folder...
1317
RewriteCond %{REQUEST_FILENAME} !-d
1418
RewriteCond %{REQUEST_URI} (.+)/$

public/index.php

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?php
22

3+
use Illuminate\Foundation\Application;
34
use Illuminate\Http\Request;
45

56
define('LARAVEL_START', microtime(true));
@@ -13,5 +14,7 @@
1314
require __DIR__.'/../vendor/autoload.php';
1415

1516
// Bootstrap Laravel and handle the request...
16-
(require_once __DIR__.'/../bootstrap/app.php')
17-
->handleRequest(Request::capture());
17+
/** @var Application $app */
18+
$app = require_once __DIR__.'/../bootstrap/app.php';
19+
20+
$app->handleRequest(Request::capture());

0 commit comments

Comments
 (0)