andreaselia/laravel-api-to-postman

Install problem

rkasymov opened this issue ยท 9 comments

I have problem while install the package by composer:

  Problem 1
    - andreaselia/laravel-api-to-postman[v1.6.0, ..., v1.6.1] require illuminate/config ^8.0 -> found illuminate/config[v8.0.0, ..., 8.x-dev] but it conflicts with another require.
    - Root composer.json requires andreaselia/laravel-api-to-postman ^1.6 -> satisfiable by andreaselia/laravel-api-to-postman[v1.6.0, v1.6.1].

Composer file:

{
    "name": "laravel/laravel",
    "type": "project",
    "description": "The Laravel Framework.",
    "keywords": [
        "framework",
        "laravel"
    ],
    "license": "MIT",
    "require": {
        "php": "^7.4.0",
        "ext-mbstring": "*",
        "doctrine/dbal": "^2.9",
        "ejarnutowski/laravel-api-key": "^1.0",
        "facade/ignition": "^2.3",
        "fideloper/proxy": "^4.0",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "6.5.5",
        "laravel/cashier": "^12.5",
        "laravel/framework": "^7.0",
        "laravel/passport": "9.x",
        "laravel/tinker": "^2.0",
        "league/flysystem-aws-s3-v3": "^1.0",
        "predis/predis": "^1.1",
        "sentry/sentry-laravel": "^2.2",
        "stripe/stripe-php": "^7.61",
        "tymon/jwt-auth": "^1.0"
    },
    "require-dev": {
        "beyondcode/laravel-dump-server": "^1.0",
        "filp/whoops": "^2.0",
        "fzaninotto/faker": "^1.4",
        "mockery/mockery": "^1.0",
        "nunomaduro/collision": "^4.1",
        "phpunit/phpunit": "^8.5",
        "apoplavs/laravel-autodoc": "^1.0",
        "ronasit/laravel-entity-generator": "^1.3"
    },
    "config": {
        "optimize-autoloader": true,
        "preferred-install": "dist",
        "sort-packages": true
    },
    "extra": {
        "laravel": {
            "dont-discover": []
        }
    },
    "autoload": {
        "psr-4": {
            "App\\": "app/"
        },
        "classmap": [
            "database/seeds",
            "database/factories"
        ]
    },
    "autoload-dev": {
        "psr-4": {
            "Tests\\": "tests/",
            "Apoplavs\\Support\\AutoDoc\\": "src/"
        }
    },
    "minimum-stability": "dev",
    "prefer-stable": true,
    "scripts": {
        "post-autoload-dump": [
            "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
            "@php artisan package:discover --ansi",
            "@php artisan vendor:publish --provider=\"Apoplavs\\Support\\AutoDoc\\AutoDocServiceProvider\""
        ],
        "post-root-package-install": [
            "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
            "@php artisan storage:link"
        ],
        "post-create-project-cmd": [
            "@php artisan key:generate --ansi"
        ]
    }
}

Can anyone help me to solve this problem?

Hey @rkasymov, this is because the package requires Laravel 8.x and it appears you are using 7.x.

@andreaselia thank's for answer! Will there be support for older versions of laravel?

I don't believe the package uses any specific Laravel 8.x features, so I'll setup support for 7.x as soon as I get some time to test it out - unless you're able to yourself?

Hey @rkasymov, I took a look at the support policy for Laravel 7.x and the security fixes end on March 3rd.

I'd recommend upgrading to Laravel 8.x rather than us adding backwards compatibility here.

Reopening to add a fix for the previous LTS release (6.x) which will also include support for 7.x after a discussion with @tomirons. Hope this helps @rkasymov ๐Ÿ˜„

@andreaselia thanks! I will try to install and test it, when release available.

@rkasymov v1.6.2 has been tagged with backwards compatibility, have fun! ๐Ÿ˜„

@andreaselia it works! Thank you!

You're welcome ๐Ÿ˜„