Commit Graph

227 Commits

Author SHA1 Message Date
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
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
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
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
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
Travis Swientek
fbe34ce59a Merge pull request #66 from cerealean/master
PHP DocBlocks, Constants Changes, and Minor Refactors
2014-12-02 15:58:50 -08:00
Michael Crawford
5043a49969 *Fixed class docblock (mainly fixed so that travis-ci would trigger a build) 2014-11-20 12:52:37 -06:00
Michael Crawford
67ae7c4137 * Removed unnecessary constructor
* Added function docblocks
* Changed class docblock to include link to lists readme
2014-11-20 12:44:33 -06:00
Michael Crawford
4924b597f4 * Added php docblocks to functions and member variables.
* Changed constants to use new constant classes.
* Changed class docblock to include link to readme file
* Moved function descriptions of sendMessage() and verifyWebhookSignature() methods to function docblocks
2014-11-20 12:41:25 -06:00
Michael Crawford
7fed60d881 * Changed class docblock to include link to readme for instructions.
* Added docblocks for functions and member variables.
* Updated constants to use constants classes
* Changed finalize() - removing the return (since the sendMessage() method already does not return anything)
2014-11-20 12:38:05 -06:00
Michael Crawford
3e55c2bcd2 Changed class docblock and added a link to the readme file with instructions 2014-11-20 12:35:37 -06:00
Michael Crawford
435ac1a3b8 Updated constants based on constant class changes. Also added php docblocks to all functions and member variables. 2014-11-20 12:29:15 -06:00
Michael Crawford
591f6a4538 Constants.php
* Removed file

Api.php
 * New class made for Api-related constants

ExceptionMessages.php
 * New class made for Exception Messages constants

Essentially, just moved the constants out into their own classes. Using classes so that it isn't necessary to do an include/require on any other files, just import the class.
2014-11-20 12:28:39 -06:00
Michael Crawford
e1e2ed796f Added php docblock comments and changed constants to use newly created constant classes 2014-11-20 12:12:06 -06:00
Travis Swientek
b34805d86b Fixed broken test. 2014-11-19 14:52:34 -08:00
Travis Swientek
289bed65ec Update SharedHostInstall.md
Incremented version numbers
2014-11-19 14:43:36 -08:00
Travis Swientek
fdba1b4db9 Update README.md
Incremented version numbers
2014-11-19 14:43:11 -08:00
Travis Swientek
45ec0c8f3a Merge branch 'master' of https://github.com/mailgun/mailgun-php into travis/merging 2014-11-19 14:31:03 -08:00
Travis Swientek
f4c6fd012b Merge branch 'gmacon-verifyWebhookSignature' 2014-11-19 14:29:50 -08:00
Travis Swientek
b28a742efb Merge branch 'verifyWebhookSignature' of https://github.com/gmacon/mailgun-php into gmacon-verifyWebhookSignature
Conflicts:
	src/Mailgun/Mailgun.php
2014-11-19 14:29:08 -08:00
Travis Swientek
529e392386 Merge branch 'nathanntg-master' 2014-11-19 14:23:34 -08:00
Travis Swientek
59299b7fbf Merge branch 'master' of https://github.com/nathanntg/mailgun-php into nathanntg-master
Conflicts:
	src/Mailgun/Connection/Exceptions/GenericHTTPError.php
2014-11-19 14:22:40 -08:00
Travis Swientek
d744b0a809 Merge pull request #56 from jchamberlain/master
Don't require @ prefix for attachment filenames
2014-11-17 17:28:32 -08:00