mll-lab / laravel-graphql-voyager

Easily integrate GraphQL Voyager into your Laravel projects.
MIT License
4 stars 3 forks source link

Can't install with Laravel Framework 9.2 #1

Closed LiamKarlMitchell closed 2 years ago

LiamKarlMitchell commented 2 years ago

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

Problem 1

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

LiamKarlMitchell commented 2 years ago

Made a fork and edited it till it worked, not sure on the exact versions to put in composer.json however. https://github.com/LiamKarlMitchell/laravel-graphql-voyager/blob/master/composer.json

Saw another fork after posting this which has also made changes. https://github.com/jorisneuteboom/laravel-graphql-voyager/blob/master/composer.json

Happy to do a pull request if you think its okay.

To load it in my project temporarily until its fixed here I put this in my projects composer.json

    "repositories": {
        "laravel-graphql-voyager": {
            "type": "vcs",
            "url": "https://github.com/liamkarlmitchell/laravel-graphql-voyager"
        }

Then I ran

sail composer require mll-lab/laravel-graphql-voyager:master
spawnia commented 2 years ago

Fixed with https://github.com/mll-lab/laravel-graphql-voyager/releases/tag/v2.0.0