Skip to content

Commit e9d39e7

Browse files
author
Pallieter Verhpeven
committed
Merge branch 'release/1.1.0'
2 parents b255ecd + f07b35f commit e9d39e7

File tree

8 files changed

+382
-62
lines changed

8 files changed

+382
-62
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [Unreleased]
8+
## [1.1.0] - 2017-09-21
9+
### Added
10+
- add custom grouping support
11+
812
## [1.0.2] - 2017-06-29
913
### Fixed
1014
- tests
@@ -36,7 +40,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
3640
### Added
3741
- initial code
3842

39-
[Unreleased]: https://github.com/CMTelecom/messaging-php/compare/1.0.2....HEAD
43+
[Unreleased]: https://github.com/CMTelecom/messaging-php/compare/1.1.0....HEAD
44+
[1.1.0]: https://github.com/CMTelecom/messaging-php/compare/1.0.2...1.1.0
4045
[1.0.2]: https://github.com/CMTelecom/messaging-php/compare/1.0.1...1.0.2
4146
[1.0.1]: https://github.com/CMTelecom/messaging-php/compare/1.0.0...1.0.1
4247
[1.0.0]: https://github.com/CMTelecom/messaging-php/compare/0.0.1...1.0.0

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ use \CM\Messaging\Settings\AllowedChannel;
6363

6464
$message = (new \CM\Messaging\Message())
6565
->setFrom('Your name/company name')
66-
->setTo([['0031612345678', '0031623456789', '0031634567890'])
66+
->setTo(['0031612345678', '0031623456789', '0031634567890'])
6767
->setBody('Message')
6868
->setReference('Your message')
6969
->setAllowedChannels([AllowedChannel::SMS, AllowedChannel::PUSH, AllowedChannel::VOICE])
@@ -207,6 +207,12 @@ Exception thrown | Description
207207
**setDcs()** | int $dcs | $this
208208
**getReference()** | | string
209209
**setReference()** | string $reference | $this
210+
**getCustomGrouping1()** | | string
211+
**setCustomGrouping1()** | string $reference | $this
212+
**getCustomGrouping2()** | | string
213+
**setCustomGrouping2()** | string $reference | $this
214+
**getCustomGrouping3()** | | string
215+
**setCustomGrouping3()** | string $reference | $this
210216
**getMinimumNumberOfMessageParts()** | | int
211217
**setMinimumNumberOfMessageParts()** | int $minimumNumberOfMessageParts | $this
212218
**getMaximumNumberOfMessageParts()** | | int
@@ -230,6 +236,12 @@ Exception thrown | Description
230236
**setDcs()** | int $dcs | $this
231237
**getReference()** | | string
232238
**setReference()** | string $reference | $this
239+
**getCustomGrouping1()** | | string
240+
**setCustomGrouping1()** | string $reference | $this
241+
**getCustomGrouping2()** | | string
242+
**setCustomGrouping2()** | string $reference | $this
243+
**getCustomGrouping3()** | | string
244+
**setCustomGrouping3()** | string $reference | $this
233245
**getMinimumNumberOfMessageParts()** | | int
234246
**setMinimumNumberOfMessageParts()** | int $minimumNumberOfMessageParts | $this
235247
**getMaximumNumberOfMessageParts()** | | int

composer.json

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
"name": "cmtelecom/messaging-php",
33
"description": "PHP client for integration with the CM platform",
44
"keywords": [
5-
"cmtelecom", "cm", "telecom", "sms", "api", "sdk", "library", "package"
5+
"cmtelecom",
6+
"cm",
7+
"telecom",
8+
"sms",
9+
"api",
10+
"sdk",
11+
"library",
12+
"package"
613
],
714
"homepage": "https://www.cmtelecom.com",
815
"license": "Apache 2.0",
@@ -19,19 +26,22 @@
1926
],
2027
"require": {
2128
"php": ">=5.4.0",
22-
"myclabs/php-enum": "^1.5",
23-
"php-http/httplug": "^1.1",
24-
"guzzlehttp/psr7": "^1.0"
29+
"myclabs/php-enum": "1.5.*",
30+
"php-http/httplug": "1.1.*",
31+
"guzzlehttp/psr7": "1.4.*"
2532
},
2633
"require-dev": {
27-
"php-http/mock-client": "^0.3",
28-
"fzaninotto/faker": "^1.6",
29-
"phpunit/phpunit": "^4.0"
34+
"php-http/mock-client": "0.3.*",
35+
"fzaninotto/faker": "1.6.*",
36+
"phpunit/phpunit": "4.*"
3037
},
3138
"autoload": {
3239
"psr-4": {
3340
"CM\\Messaging\\": "src/CM/Messaging//",
3441
"Test\\CM\\Messaging\\": "tests/CM/Messaging//"
3542
}
43+
},
44+
"suggest": {
45+
"php-http/guzzle6-adapter": "This is the default and recommended http client adapter. A http client adapter is required!"
3646
}
3747
}

0 commit comments

Comments
 (0)