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

Add support for mailgun-php ^3.0 #85

Closed
wants to merge 2 commits into from

Conversation

DieterHolvoet
Copy link

This PR updates the mailgun/mailgun-php package to ^3.0, which fixes dependency conflicts with Symfony 4.2+ (#78, #79), as well as php-http/guzzle7-adapter. It continues work on #84.

@amolochitis
Copy link

I get these errors when trying to use the Mailgun Library too.

[20-Nov-2020 10:56:33 America/Chicago] PHP Fatal error: Uncaught Http\Discovery\Exception\DiscoveryFailedException: Could not find resource using any discovery strategy. Find more information at http://docs.php-http.org/en/latest/discovery.html#common-errors

  • Puli Factory is not available
  • No valid candidate found using strategy "Http\Discovery\Strategy\CommonClassesStrategy". We tested the following candidates: .
  • No valid candidate found using strategy "Http\Discovery\Strategy\CommonPsr17ClassesStrategy". We tested the following candidates: Phalcon\Http\Message\UriFactory, Nyholm\Psr7\Factory\Psr17Factory, Zend\Diactoros\UriFactory, GuzzleHttp\Psr7\HttpFactory, Http\Factory\Diactoros\UriFactory, Http\Factory\Guzzle\UriFactory, Http\Factory\Slim\UriFactory, Laminas\Diactoros\UriFactory.

Is this a solution to the error?

@DieterHolvoet
Copy link
Author

@amolochitis that error means you don't have a PSR-7 implementation and HTTP client installed. I changed the suggestion in the README to nyholm/psr7 and kriswallsmith/buzz. These are the ones suggested in the mailgun/mailgun-php and they are working fine for me.

@boboldehampsink
Copy link

Is this package still alive?

@davola
Copy link

davola commented Aug 25, 2021

As of today (2021-08-25) I can confirm this PR for supporting mailgun v3 works just fine 👌 Thanks @DieterHolvoet 🙏 !

@karensg
Copy link
Collaborator

karensg commented Sep 13, 2021

Just released a new version with #88.
Should have all our problems solved. Let me know whether there any issues with it.

@karensg karensg closed this Oct 20, 2021
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

Successfully merging this pull request may close these issues.

5 participants