Open Fab-Miami opened 5 years ago
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?
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"?
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
@Fab-Miami can you try this and see if it works for you? It did for me. https://github.com/Bogardo/Mailgun/issues/156
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