Skip to content

Commit 03e1e8b

Browse files
authored
Merge pull request #44 from Kucoin/release/2025.05.26
Release/2025.05.26
2 parents fb59eeb + c691915 commit 03e1e8b

File tree

873 files changed

+138349
-7
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

873 files changed

+138349
-7
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ logs
88
*.egg-info
99
test.log
1010
build/
11-
dist/
11+
dist/
12+
vendor
13+
sdk/php/composer.lock

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ API documentation [Changelog](https://www.kucoin.com/docs-new/change-log)
44

55
Current synchronized API documentation version [20250313](https://www.kucoin.com/docs-new/change-log#20250313)
66

7-
# 2025-04-04(Python 1.2.1.post1)
7+
## 2025-05-26(PHP 0.1.0-alpha)
8+
- Release PHP implementation
9+
10+
## 2025-04-04(Python 1.2.1.post1)
811
- Bug Fixes
912

10-
# 2025-03-31(Python 1.2.1)
13+
## 2025-03-31(Python 1.2.1)
1114
- Optimize WebSocket reconnection logic
1215

1316
## 2025-03-21(1.2.0)

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ COPY --from=generator-builder /build/target/sdk-openapi-generator-1.0.0.jar /opt
3535
RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
3636
RUN apt-get install -y nodejs
3737
RUN npm install -g prettier
38+
RUN npm install -g @prettier/plugin-php
39+
RUN echo '#!/bin/sh\n\
40+
cd $(npm root -g) && prettier --plugin=@prettier/plugin-php --write "$@"' > /usr/local/bin/php-prettier && chmod +x /usr/local/bin/php-prettier
41+
3842

3943
ENV CGO_ENABLED=0
4044
ENV PATH="/usr/local/go/bin:$PATH"
@@ -44,6 +48,7 @@ ENV PATH="$GOPATH/bin:$PATH"
4448
ENV GO_POST_PROCESS_FILE="/usr/local/go/bin/gofmt -w"
4549
ENV PYTHON_POST_PROCESS_FILE="/usr/local/bin/yapf -i"
4650
ENV TS_POST_PROCESS_FILE="/usr/bin/prettier --write --semi --single-quote --tab-width 4 --trailing-comma all --bracket-spacing --arrow-parens always --end-of-line lf --print-width 100"
51+
ENV PHP_POST_PROCESS_FILE="php-prettier --write"
4752

4853
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
4954

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ generate: setup-logs
102102
$(call generate-code,golang,/pkg/generate)
103103
$(call generate-code,python,/kucoin_universal_sdk/generate)
104104
$(call generate-code,node,/src/generate)
105+
$(call generate-code,php,/src/Generate,0.1.0-alpha)
105106

106107
.PHONY: gen-postman
107108
gen-postman: preprocessor

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@ go mod tidy
5252
npm install kucoin-universal-sdk
5353
```
5454

55+
### PHP Installation(0.1.0-alpha)
56+
**Note**: This SDK is currently in the Alpha phase. We are actively iterating and improving its features, stability, and documentation. Feedback and contributions are highly encouraged to help us refine the SDK.
57+
```bash
58+
composer require kucoin/kucoin-universal-sdk
59+
```
60+
5561
### Postman Installation
5662
Visit the [KuCoin API Collection on Postman](https://www.postman.com/kucoin-api/kucoin-api/overview)
5763

@@ -130,6 +136,7 @@ For other languages, refer to the [Examples](#-examples) section.
130136
- **[Python Documentation](sdk/python/README.md)**
131137
- **[Go Documentation](sdk/golang/README.md)**
132138
- **[Node.js Documentation](sdk/node/README.md)**
139+
- **[PHP Documentation](sdk/php/README.md)**
133140
- **[Postman Documentation](sdk/postman/README.md)**
134141

135142
## 📂 Examples
@@ -140,6 +147,7 @@ Find usage examples for your desired language by selecting the corresponding lin
140147
| Python | [sdk/python/examples/](sdk/python/example/)|
141148
| Go | [sdk/go/examples/](sdk/golang/example/) |
142149
| Node.js | [sdk/node/examples/](sdk/node/example/) |
150+
| PHP | [sdk/php/examples/](sdk/php/example/) |
143151

144152
## 📋 Changelog
145153

0 commit comments

Comments
 (0)