Tobias Nyholm
20b9fbfe5d
Rename AbstractApi to HttpApi ( #214 )
...
Fix #200
2016-11-11 15:25:32 -06:00
Tobias Nyholm
e4d181a4fa
Rename ObjectSerializer to ModelSerializer ( #215 )
...
Fix #204
2016-11-11 15:25:01 -06:00
Tobias Nyholm
1a71c14097
Removed inheritence, Renamed classes, Mark all classes as final ( #212 )
...
* Removed inheritence, Renamed classes, Mark all classes as final
* code style
* Updated docs
* Code style
* Be consistant with the naming of functions
* Fixed tests
2016-11-11 14:53:26 -06:00
Sean Johnson
58430e4537
Domains API, #187 ( #198 )
2016-10-27 08:34:27 +02:00
Tobias Nyholm
738e6e32e2
POC - Better api ( #192 )
...
* Added base for the new API
* code style
* Added response classes
* Added support for serializer
* The abstract API should not know of Mailgun
* Minor
* minor
* Using a client configrator
* code style
* Put HTTPClient in the configurator
* Do not use the api() function
* Use stable version of Assert
* style
* Fixed tests
* make the httpClient private
* Renamed ResponseSerializer to ResponseDeserializer
* Disabled tests that are testing error messages with Assert
* style fixes
* Refactoring fix
2016-10-24 12:01:32 -05:00
Tobias Nyholm
043658f996
Added meta files ( #195 )
...
* Added meta files
* Style fixes from StyleCI
2016-10-14 19:20:46 -05:00
Tobias Nyholm
359c6001d4
Deprecate SSL functions ( #179 )
2016-09-30 15:04:43 +02:00
David Garcia
3aeb602406
Make sure $variables is an array in addRecipient() ( #176 )
...
* Write test to verify expected behaviour when we provide a String
* Fix broken test checking if the variable is an Array
* PSR Standard using single quote instead of double quote
2016-09-30 15:03:35 +02:00
Tobias Nyholm
8fe342f5b9
Apply fixes from StyleCI and make sure we add MIT license properly ( #163 )
...
* Applied fixes from StyleCI
* Create LICENSE
2016-09-18 09:56:14 +02:00
Wim Verstuyf
5d04bc63a7
Add attachment from memory ( #158 )
2016-09-06 13:05:50 +02:00
Tobias Nyholm
b2742c73b3
Updated signature for addAttachment
...
This will fix #69
2016-08-31 11:52:14 +02:00
Tobias Nyholm
741aa0d120
Make sure we use proper POST data arrays
2016-08-10 17:26:24 +02:00
Tobias Nyholm
b79dc5fdb8
Merge pull request #152 from Nyholm/inline-complexity
...
Reduce code complexity on addInlineImage
2016-08-10 17:18:57 +02:00
Travis Swientek
0a7c96c34a
Fixed inline image issue. Added new tests.
2016-08-10 16:37:08 +02:00
Tobias Nyholm
3114b8a17a
Reduce code complexity
2016-08-05 09:44:49 +02:00
David Garcia
817dad1f90
Applied fixes from StyleCI
2016-07-24 07:42:47 -04:00
David Garcia
8da94ac190
PHP CS Fixer
2016-07-24 12:41:21 +01:00
David Garcia
09eda3df13
PHP Code Sniffer
2016-07-24 12:40:50 +01:00
Tobias Nyholm
6275b2b796
Merge pull request #112 from nebkam/patch-1
...
Declare endpointUrl field
2016-07-21 01:02:09 +02:00
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
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
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
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
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
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
b080b181ac
Make sure we do not depend on any http transport library
2015-10-03 22:10:48 +02:00
z38
1f555c2f27
Fixed notices on empty webhook requests
2015-09-13 20:01:16 +02: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
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