File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 43
43
},
44
44
"require" : {
45
45
"php" : " ^8.1" ,
46
- "phplist/core" : " v5.0.0-alpha8 " ,
46
+ "phplist/core" : " dev-main " ,
47
47
"symfony/twig-bundle" : " ^6.4" ,
48
48
"symfony/webpack-encore-bundle" : " ^2.2" ,
49
- "tatevikgr/rest-api-client" : " dev-master "
49
+ "tatevikgr/rest-api-client" : " dev-ISSUE-357 "
50
50
},
51
51
"require-dev" : {
52
52
"phpunit/phpunit" : " ^9.5" ,
Original file line number Diff line number Diff line change 1
1
# config/services.yaml
2
2
parameters :
3
3
api_base_url : ' %env(API_BASE_URL)%'
4
- env(API_BASE_URL) : ' http://api.phplist.local/api/v2'
4
+ env(API_BASE_URL) : ' http://api.phplist.local/api/v2/ '
5
5
6
6
services :
7
7
_defaults :
@@ -29,3 +29,10 @@ services:
29
29
tags : ['controller.service_arguments']
30
30
31
31
Symfony\Component\HttpFoundation\Session\SessionInterface : ' @session'
32
+
33
+ PhpList\RestApiClient\Client :
34
+ $baseUrl : ' %api_base_url%'
35
+
36
+ PhpList\RestApiClient\Endpoint\AuthClient :
37
+ autoconfigure : true
38
+ autowire : true
Original file line number Diff line number Diff line change 9
9
use JsonException ;
10
10
use RuntimeException ;
11
11
12
+ /**
13
+ * @deprecated since phplist/rest-api-client should be used instead.
14
+ */
12
15
class ApiClient
13
16
{
14
17
private Client $ client ;
You can’t perform that action at this time.
0 commit comments