Skip to content
This repository has been archived by the owner on Dec 22, 2019. It is now read-only.

Install on Laravel 5.8? #153

Open
Fab-Miami opened this issue Jun 5, 2019 · 4 comments
Open

Install on Laravel 5.8? #153

Fab-Miami opened this issue Jun 5, 2019 · 4 comments

Comments

@Fab-Miami
Copy link

Is it possible to install this package on 5.8?
Carbon 2.x is not accepted....

If somebody managed to install on 5.8, please explain me how to do that.

Thanks
FAB

@chrisrollins65
Copy link
Contributor

Looks like composer isn't seeing the latest release that Bogardo made yesterday... Not sure why. Maybe it just needs time to update its repository?

@Fab-Miami
Copy link
Author

idk, this is very weird.... composer.json seems OK in the repo. So why isn't it working?
I'm not super familiar with composer. Is there a way to update my local composer.json (taking into account carbon ^2.0 and then just run a simple "composer update"?

@chrisrollins65
Copy link
Contributor

The problem isn't with the composer.json... Composer itself doesn't see the newest release. Bogardo's latest release is version 5.1.0, but Composer only sees up to 5.0.4. If you run composer require bogardo/mailgun:5.1.0 you'll see that Composer can't find it. Yet it's clearly here in github. Maybe Bogardo needs to manually push this new release to Packagist, or maybe it just takes a while for Packagist to register new releases in its system.

But if you need it now, you can force Composer to search Github for the release by adding this to the end of your composer.json:

"repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/Bogardo/Mailgun"
        }
    ]

And then add this to the "require" section of the json:
"bogardo/mailgun":"^5.0"

Then run composer update

@connecteev
Copy link

@Fab-Miami can you try this and see if it works for you? It did for me. #156

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

No branches or pull requests

3 participants