From 7ed695941f1692fbc2cc807a7462c7c99b24cea9 Mon Sep 17 00:00:00 2001 From: shevelev-anatoliy Date: Thu, 8 Aug 2024 19:32:59 +0700 Subject: [PATCH] feat: upgrade Laravel from 8.x to 9.x --- .env.example | 2 +- composer.json | 10 +++++----- config/filesystems.php | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.env.example b/.env.example index da11ce9..afc88e5 100644 --- a/.env.example +++ b/.env.example @@ -17,7 +17,7 @@ DB_PASSWORD= BROADCAST_DRIVER=log CACHE_DRIVER=file -FILESYSTEM_DRIVER=local +FILESYSTEM_DISK=local QUEUE_CONNECTION=sync SESSION_DRIVER=file SESSION_LIFETIME=120 diff --git a/composer.json b/composer.json index c03e680..5de1aab 100644 --- a/composer.json +++ b/composer.json @@ -5,21 +5,21 @@ "keywords": ["framework", "laravel"], "license": "MIT", "require": { - "php": "^7.3|^8.0", + "php": "^8.0", "doctrine/dbal": "^3.1", "fruitcake/laravel-cors": "^2.0", "guzzlehttp/guzzle": "^7.0.1", - "laravel/framework": "^8.65", + "laravel/framework": "^9.0", "laravel/sanctum": "^2.11", "laravel/tinker": "^2.5" }, "require-dev": { - "barryvdh/laravel-debugbar": "^3.6", - "facade/ignition": "^2.5", + "barryvdh/laravel-debugbar": "^3.13", + "spatie/laravel-ignition": "^1.0", "fakerphp/faker": "^1.9.1", "laravel/sail": "^1.0.1", "mockery/mockery": "^1.4.4", - "nunomaduro/collision": "^5.10", + "nunomaduro/collision": "^6.1", "phpunit/phpunit": "^9.5.10" }, "autoload": { diff --git a/config/filesystems.php b/config/filesystems.php index 760ef97..cf5abce 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -13,7 +13,7 @@ | */ - 'default' => env('FILESYSTEM_DRIVER', 'local'), + 'default' => env('FILESYSTEM_DISK', 'local'), /* |--------------------------------------------------------------------------