Kyon147/laravel-shopify

php 8.2 instalation fail

grekpg opened this issue · 1 comments

Poblem 1

  • tijsverkoyen/css-to-inline-styles 2.2.2 requires php ^5.5 || ^7.0 -> your php version (8.2.22) does not satisfy that requirement.

i change to

{
    "name": "kyon147/laravel-shopify",
    "description": "Shopify package for Laravel to aide in app development",
    "keywords": [
        "api",
        "callback-url",
        "driver",
        "facade",
        "laravel",
        "laravel-package",
        "laravel-shopify",
        "scripttags",
        "sdk",
        "shopify",
        "shopify-api",
        "shopify-app",
        "webhook"
    ],
    "license": "MIT",
    "authors": [
        {
            "name": "Luke (Kyon147)",
            "email": "support@appydesign.co.uk"
        }
    ],
    "require": {
        "php": "^8.0 || ^8.1 || ^8.2",
        "ext-json": "*",
        "funeralzone/valueobjects": "^0.5",
        "jenssegers/agent": "^2.6",
        "laravel/framework": "^10.0",
        "gnikyt/basic-shopify-api": "^11.0"
    },
    "require-dev": {
        "laravel/legacy-factories": "^1.4",
        "ergebnis/composer-normalize": "^2.8",
        "friendsofphp/php-cs-fixer": "^3.0",
        "mockery/mockery": "^1.0",
        "orchestra/database": "*",
        "orchestra/testbench": "*",
        "phpstan/phpstan": "^1.11",
        "phpunit/phpunit": "^11.0"
    },
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "ergebnis/composer-normalize": true
        }
    },
    "extra": {
        "laravel": {
            "providers": [
                "Osiset\\ShopifyApp\\ShopifyAppProvider"
            ]
        }
    },
    "autoload": {
        "psr-4": {
            "Osiset\\ShopifyApp\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "Osiset\\ShopifyApp\\Test\\": "tests/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "lint": "vendor/bin/php-cs-fixer fix",
        "test": "vendor/bin/phpunit",
        "test-html-cov": "vendor/bin/phpunit --coverage-html ./build/html/",
        "test-no-cov": "vendor/bin/phpunit --no-coverage"
    },
    "support": {
        "issues": "https://github.com/Kyon147/laravel-shopify/issues",
        "forum": "https://github.com/Kyon147/laravel-shopify/discussions",
        "wiki": "https://github.com/Kyon147/laravel-shopify/wiki",
        "source": "https://github.com/Kyon147/laravel-shopify"
    }
}

now

  Problem 1
    - orchestra/testbench 10.x-dev requires laravel/framework ^12.0 -> found laravel/framework[dev-master, 12.x-dev (alias of dev-master)] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v2.0.0, ..., v2.0.6] require laravel/framework 4.0.* -> found laravel/framework[v4.0.0-BETA2, ..., 4.0.x-dev] but it conflicts with your root composer.json require (^10.0).
    - orchestra/testbench[v2.1.0, ..., v2.1.2] require laravel/framework 4.1.* -> found laravel/framework[v4.1.0, ..., 4.1.x-dev] but it conflicts with your root composer.json require (^10.0).

anyone have config for current php version ?

@grekpg I can see you might be trying to install Laravel 12 which is technically not supported yet with the package.

Going to close this for now, as we'd need a new release to support version 12 and sort out the package dependancies.