Skip to content

Commit ac061ba

Browse files
Merge pull request #24 from kilerpl/php8.x
composer for php8.x
2 parents a2e533f + d5a0642 commit ac061ba

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ This API client covers all functions of API V2 such as:
1010

1111
If You want to send transactional messages in rich format please use new [API V3 client](https://github.com/FreshMail/php-api-client).
1212

13+
## Installation via composer (compatible with PHP >=8.0)
14+
15+
Add via composer:
16+
17+
composer require freshmail/rest-api:^4.0
18+
1319
## Installation via composer (compatible with PHP >=7.0)
1420

1521
Add via composer:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
}
3232
],
3333
"require": {
34-
"php": ">=7.0",
34+
"php": ">=7.0||^8.0",
3535
"ext-curl": "*",
3636
"ext-json": "*",
37-
"psr/log": "^1.1",
38-
"monolog/monolog": "^2",
39-
"guzzlehttp/guzzle": "~7.2"
37+
"psr/log": "^1.1|^2.0|^3.0",
38+
"monolog/monolog": "^2.0|^3.0",
39+
"guzzlehttp/guzzle": "~7.2|^7.3||^7.4"
4040
},
4141
"autoload": {
4242
"psr-4": {

0 commit comments

Comments
 (0)