Skip to content

Commit

Permalink
Update: laravel 9 to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
Soltee committed Mar 3, 2024
1 parent 7b63b96 commit 59c7cb2
Show file tree
Hide file tree
Showing 4 changed files with 2,868 additions and 2,140 deletions.
1 change: 0 additions & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class Kernel extends HttpKernel
protected $middleware = [
// \App\Http\Middleware\TrustHosts::class,
\App\Http\Middleware\TrustProxies::class,
\Fruitcake\Cors\HandleCors::class,
\App\Http\Middleware\PreventRequestsDuringMaintenance::class,
\Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
\App\Http\Middleware\TrimStrings::class,
Expand Down
2 changes: 1 addition & 1 deletion app/Services/DatabaseSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public function run()
]);


$super_admin = User::factory())->create([
$super_admin = User::factory()->create([
'first_name' => 'super-admin',
'last_name' => 'admin',
'email' => 'admin@example.com',
Expand Down
26 changes: 15 additions & 11 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,31 @@
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.0",
"php": "^8.1",
"ext-pdo_sqlite": "^8.0",
"barryvdh/laravel-dompdf": "^1.0.0",
"barryvdh/laravel-dompdf": "^2.0.0",
"brick/math": "^0.9.3",
"darryldecode/cart": "~4.0",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^9.0",
"laravel/framework": "^10.0",
"laravel/tinker": "^2.5",
"league/omnipay": "^3.2",
"livewire/livewire": "^2.5.1",
"omnipay/stripe": "^3.1",
"realrashid/sweet-alert": "^5.0.0",
"stripe/stripe-php": "^7.97"
"realrashid/sweet-alert": "^7.1.0",
"stripe/stripe-php": "^7.97",
"laravel/sanctum" : "^3.2",
"doctrine/dbal" : "^3.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
"spatie/laravel-ignition": "^1.0",
"spatie/laravel-ignition": "^2.0",
"fakerphp/faker": "^1.9.1",
"laravel/breeze": "^1.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.3.3"
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0"
},
"autoload": {
"psr-4": {
Expand Down Expand Up @@ -62,8 +63,11 @@
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"php-http/discovery": true
}
},
"minimum-stability": "dev",
"minimum-stability": "stable",
"prefer-stable": true
}
Loading

0 comments on commit 59c7cb2

Please sign in to comment.