Commit Graph

545 Commits

Author SHA1 Message Date
Tobias Nyholm
2cc6ee8c77 Completly removed depenency on Guzzle and made discovery easier 2016-07-21 00:05:23 +02:00
Sergey Obukhov
b8a0abc075 Merge pull request #138 from Nyholm/issue-122
Build a string query form array
2016-07-20 14:56:59 -07:00
Sergey Obukhov
7844883c86 Merge pull request #117 from gaomd/fix-signature-check
Strict check of signature
2016-07-20 14:46:35 -07:00
Sergey Obukhov
681a348ded Merge branch 'YupItsZac-develop' 2016-07-20 12:45:14 -07:00
Sergey Obukhov
c808bbeec1 Merge branch 'develop' of https://github.com/YupItsZac/mailgun-php into YupItsZac-develop
Conflicts:
	src/Mailgun/Mailgun.php
2016-07-20 12:44:05 -07:00
Sergey Obukhov
341e06a196 Merge pull request #90 from z38/fix-webhook-notices
Fix notices on empty webhook requests
2016-07-20 12:34:11 -07:00
Sergey Obukhov
a0d10c47fb Merge pull request #121 from TemirkhanN/master
PHPdoc typos, minor performance changes
2016-07-20 12:31:41 -07:00
Sergey Obukhov
280eead0ea Merge pull request #98 from MatissJanis/patch-1
Fix spelling
2016-07-20 12:24:35 -07:00
Sergey Obukhov
f70e833f4f Merge pull request #140 from kafene/patch-1
Change string "false" to boolean false in README
2016-07-20 12:05:23 -07:00
kafene
93af097ca3 Change string "false" to boolean false in README
The correct value is a boolean
2016-07-20 10:06:31 -04:00
Tobias Nyholm
aaf61b4466 test fix 2016-07-19 15:06:49 +02:00
Tobias Nyholm
1cdfc3c204 Added header 2016-07-19 15:00:29 +02:00
Tobias Nyholm
75614bf294 Build a string query form array
Fix issue #122
2016-07-19 14:58:31 +02:00
=
e921db5cc9 Added var types to docblock 2016-06-22 23:04:31 +02:00
=
8c97f6f451 Updated docblock for sendMessage function to include @return and @throws 2016-06-22 23:00:27 +02:00
temirkhan
30b4aa5e9a Little fix in responseHandler switch case:
throwing exception prevents next code execution, so it was unnecessary to use breaks. And also use return in case that differs from 200
2016-04-20 12:00:50 +03:00
temirkhan
2d9cd57d2e PHPDoc typos fixed, minor performance changes 2016-04-19 15:27:12 +03:00
Mengdi Gao
20422956e8 Strict check of signature 2016-04-11 00:26:34 +08:00
Jesse Spears
976a76a3b5 Get rid of nonexistent package
composer.json required a package that doesn't exist.
2016-04-01 17:58:54 -07:00
Jesse Spears
44629a6eb6 Bumped mg-php ver in README 2016-04-01 17:13:43 -07:00
Jesse Spears
9ac73e07ea Merge pull request #94 from Nyholm/http
Remove dependency on Guzzle
2016-04-01 16:59:31 -07:00
Nebojša Kamber
6a8f2dd424 Declare endpointUrl field
To avoid `field declared dynamically` and `field not found` warnings in IDEs
2016-03-29 12:14:40 +02:00
Tobias Nyholm
89869402e0 removed unsupported PHP versions 2016-03-05 11:14:34 +01:00
Tobias Nyholm
b85f1461d4 Removed unused tests and some parameters from the constructor 2016-03-05 11:13:28 +01:00
Tobias Nyholm
b961cfb4eb Updated to latest version of Httplug and made auto discovery optional 2016-02-26 12:04:54 +01:00
Tobias Nyholm
6ea7e9325f updated link 2015-12-23 17:35:07 +01:00
Tobias Nyholm
ac0b85b9e2 Updated to httplug beta 2015-12-21 00:24:34 +01:00
Tobias Nyholm
7f3d637756 Updated to reflect changes in PHP-HTTP 2015-11-18 15:46:53 +01:00
Matīss Jānis Āboltiņš
f5a37188df Fix spelling 2015-11-13 12:30:23 +02:00
Tobias Nyholm
a0edd0eb30 Updates to the php-http library 2015-10-30 14:36:08 +01:00
Tobias Nyholm
78f252761e Updated the php-http lib 2015-10-30 14:28:43 +01:00
Tobias Nyholm
b8420451c7 Added docs 2015-10-13 08:59:43 +02:00
Tobias Nyholm
4131802de2 Changed according to Rubens suggestions 2015-10-12 22:46:30 +02:00
Tobias Nyholm
61d03262a9 Removed dependency on Happyr/AutoDiscovery 2015-10-12 19:23:58 +02:00
Tobias Nyholm
ad015ce441 code style 2015-10-03 23:27:50 +02:00
Tobias Nyholm
108f6199d9 Merge branch 'http' of https://github.com/Nyholm/mailgun-php into http 2015-10-03 23:01:46 +02:00
Tobias Nyholm
5fcbb3d37c Use guzzle5 in development 2015-10-03 22:59:31 +02:00
Tobias Nyholm
e0c3558e82 Added information about PHP-adapter 2015-10-03 22:12:32 +02:00
Tobias Nyholm
b080b181ac Make sure we do not depend on any http transport library 2015-10-03 22:10:48 +02:00
Tobias Nyholm
5ec7aabfe2 make sure we can attach files 2015-10-03 22:08:55 +02:00
Tobias Nyholm
b2dd642235 working on http adapter 2015-10-03 20:01:58 +02:00
z38
1f555c2f27 Fixed notices on empty webhook requests 2015-09-13 20:01:16 +02:00
Nolan
230fdd43ae Merge pull request #78 from Nyholm/patch-1
Added links to packages that integrate mailgun-php to frameworks
2015-08-28 16:30:37 -05:00
Anders Munk
04f1baa2fd Updated rest client to use PSR7. No phpunit tests yet; will come soon. Manual sending message to mailgun API works. 2015-07-23 14:25:28 +02:00
Anders Munk
ffab6c9e39 Bumped to guzzlehttp/guzzle:~6.0
PHPUnit OK (49 tests, 75 assertions)
2015-07-23 13:27:32 +02:00
Jesse Spears
225e800595 Bump getResponseExceptionMessage to GuzzleHttp version 5 2015-05-06 10:52:51 -07:00
Tobias Nyholm
3bb69d8cbe * Updated composer.json to guzzle v5
* Don't allow HHVM to fail
* Updated RestClient to Guzzle5
* Removed php5.3 from travis.
* Bugfix and removed debug code
2015-05-05 18:19:10 -07:00
Wietse de Vries
edae22eba4 Updated default API version from v2 to v3
http://blog.mailgun.com/default-api-version-now-v3/
2015-05-05 18:18:08 -07:00
CupOfTea696
e1406e3936 Shows response message on 400, 401 and 404 errors
Adds the actual response message to the errors thrown on 400, 401 and
404 response codes. This provides a lot more useful info than the
current messages. The message doesn’t really give you much to go one. I
spent hours trying to find what I did wrong, double checking my API
keys and looking up the error on google.
2015-05-05 18:18:08 -07:00
Tobias Nyholm
b9ee15e333 Added links to packages that integrate mailgun-php to frameworks 2015-04-18 16:22:29 +02:00