checkout icon indicating copy to clipboard operation
checkout copied to clipboard

Suport for Laravel 9.x

Open mteece opened this issue 1 year ago • 0 comments

Overview:

We are currently upgrading our project to PHP 8.1 and Laravel 9.x. We have upgraded PHP to 8.1 and began work on upgrading from Laravel Framework 8.83.27 to Laravel Framework 9.x. One of the first issues we ran into when upgrading is the package 64robots/checkout is not compatible with Larvel 9.x and is capped at Laravel 8.x. Is it possible to upgrade this project to be compatible with newer versions of Laravel?

This is a major blocker for us.

Composer file (composer.json)

...
"require": {
        "php": "^8.1",
        "64robots/checkout": "^2.0",
...

Steps to Reproduce:

  1. With an existing Larvavel project based on version 8.x follow the steps outlined to upgrade the project to 9.x here.
  2. Once the composer.json is updated per the above upgrade steps run the command someone@local % composer update

Expected Result: Composer updates the packages including the package 64robots/checkout unblocking the upgrade.

Actual Result The package update fails with the following message.

someone@local % composer update && composer install
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - 64robots/checkout[2.0, ..., 2.0.x-dev] require laravel/framework ^8.0 -> found laravel/framework[v8.0.0, ..., 8.x-dev] but it conflicts with your root composer.json require (^9.0).
    - Root composer.json requires 64robots/checkout ^2.0 -> satisfiable by 64robots/checkout[2.0, 2.0.x-dev].

mteece avatar Feb 09 '24 16:02 mteece