Skip to content

Commit 07c5fbc

Browse files
committed
Upgrade to Laravel 10
1 parent 8336f30 commit 07c5fbc

File tree

3 files changed

+2113
-2293
lines changed

3 files changed

+2113
-2293
lines changed

app/Http/Kernel.php

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ class Kernel extends HttpKernel
1616
protected $middleware = [
1717
// \App\Http\Middleware\TrustHosts::class,
1818
\App\Http\Middleware\TrustProxies::class,
19-
\Fruitcake\Cors\HandleCors::class,
2019
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
2120
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
2221
\App\Http\Middleware\TrimStrings::class,

composer.json

+12-13
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,20 @@
55
"keywords": ["framework", "laravel"],
66
"license": "MIT",
77
"require": {
8-
"php": "^7.3|^8.0",
9-
"fruitcake/laravel-cors": "^2.0",
10-
"guzzlehttp/guzzle": "^7.0.1",
11-
"laravel/framework": "^8.54",
12-
"laravel/sanctum": "^2.11",
13-
"laravel/tinker": "^2.5"
8+
"php": "^8.1",
9+
"guzzlehttp/guzzle": "^7.2",
10+
"laravel/framework": "^10.0",
11+
"laravel/sanctum": "^3.2",
12+
"laravel/tinker": "^2.8"
1413
},
1514
"require-dev": {
16-
"facade/ignition": "^2.5",
1715
"fakerphp/faker": "^1.9.1",
18-
"laravel/breeze": "^1.4",
19-
"laravel/sail": "^1.0.1",
20-
"mockery/mockery": "^1.4.2",
21-
"nunomaduro/collision": "^5.0",
22-
"phpunit/phpunit": "^9.3.3"
16+
"laravel/pint": "^1.0",
17+
"laravel/sail": "^1.18",
18+
"mockery/mockery": "^1.4.4",
19+
"nunomaduro/collision": "^7.0",
20+
"phpunit/phpunit": "^10.0",
21+
"spatie/laravel-ignition": "^2.0"
2322
},
2423
"autoload": {
2524
"psr-4": {
@@ -58,6 +57,6 @@
5857
"preferred-install": "dist",
5958
"sort-packages": true
6059
},
61-
"minimum-stability": "dev",
60+
"minimum-stability": "stable",
6261
"prefer-stable": true
6362
}

0 commit comments

Comments
 (0)