Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel 8 #18

Open
Rokela opened this issue Sep 15, 2020 · 7 comments
Open

Laravel 8 #18

Rokela opened this issue Sep 15, 2020 · 7 comments

Comments

@Rokela
Copy link

Rokela commented Sep 15, 2020

Please add support of Laravel 8

@Niellles
Copy link
Contributor

Niellles commented Nov 2, 2020

I just took a quick look at this. Are you getting any errors?

I currently don't have a Laravel 8 install to test on. However a couple of Google searches makes me believe that Laravel 8 uses Guzzle 7, while this package won't accept Guzzle 7. Could you check this for me?

@Rokela
Copy link
Author

Rokela commented Nov 5, 2020 via email

@Niellles
Copy link
Contributor

Niellles commented Nov 5, 2020

Should be a quick fix:

 "require": {
        "php": ">=5.4.0",
        "guzzlehttp/guzzle": "~5.3|~6.0|~7.0"
    }

From there it's fingers crossed and hope that nothing else breaks.

Would you be able to change and test this? After that you should probably make a PR, however this repo looks to be kinda abandoned.

@Niellles
Copy link
Contributor

Niellles commented Nov 5, 2020

I've made this change in my fork (from which there's still a pending pull request). Since you've got a working Laravel 8 install could you try it out?

Installing from a Github repo should go something like this:

{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Niellles/geocode/"
        }
    ],
    "require": {
        "jcf/geocode": "dev-laravel8-hotfix"
    }
}

@Rokela
Copy link
Author

Rokela commented Nov 16, 2020 via email

@Niellles
Copy link
Contributor

Niellles commented Nov 17, 2020

I edited it later, has to be "dev-laravel8-hotfix" instead of "laravel8-hotfix" that you got in your email. If you try the edited comment, it should work.

@Rokela
Copy link
Author

Rokela commented Nov 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants