Skip to content

Unable to upgrade to Laravel 12 #243

@ghost

Description

Describe the bug

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Root composer.json requires kreait/laravel-firebase ^5.10.0 -> satisfiable by kreait/laravel-firebase[5.10.0].
- kreait/laravel-firebase 5.10.0 requires illuminate/contracts ^9.0 || ^10.0 || ^11.0 -> found illuminate/contracts[v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0] but it conflicts with your root composer.json require (^12.0.1).

Installed packages

{
  "$schema": "https://getcomposer.org/schema.json",
  "type": "project",
  "require": {
    "php": "^8.4",
    "kreait/laravel-firebase": "^5.10.0",
    "laravel/framework": "^12.0.1",
    "laravel/tinker": "^2.10.1",
    "league/flysystem-aws-s3-v3": "^3.29.0"
  },
  "require-dev": {
    "laravel/pail": "^1.2.2",
    "laravel/sail": "^1.41.0",
    "nunomaduro/collision": "^8.6.1"
  },
  "autoload": {
    "psr-4": {
      "App\\": "app/"
    }
  },
  "config": {
    "allow-plugins": {
      "php-http/discovery": true
    },
    "optimize-autoloader": true,
    "preferred-install": "dist",
    "sort-packages": true
  },
  "extra": {
    "laravel": {
      "dont-discover": []
    }
  },
  "minimum-stability": "stable",
  "prefer-stable": true,
  "scripts": {
    "post-autoload-dump": [
      "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
      "@php artisan package:discover --ansi",
      "@php artisan vendor:publish --tag=laravel-assets --ansi --force"
    ]
  }
}

PHP version and extensions

8.4

Steps to reproduce the issue.

# Insert the commands issued in the terminal if they are needed
# to reproduce the issue. Otherwise, delete this code block.
composer update -W
// Insert the PHP code to reproduce the issue. Please ensure that it is code that
// can be copy pasted to reproduce it.

Error message/Stack trace

Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires kreait/laravel-firebase ^5.10.0 -> satisfiable by kreait/laravel-firebase[5.10.0].
    - kreait/laravel-firebase 5.10.0 requires illuminate/contracts ^9.0 || ^10.0 || ^11.0 -> found illuminate/contracts[v9.0.0, ..., v9.52.16, v10.0.0, ..., v10.48.28, v11.0.0, ..., v11.44.0] but it conflicts with your root composer.json require (^12.0.1).

Additional information

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions