-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
740 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- | ||
* @Author: Bin | ||
* @Date: 2023-03-11 | ||
* @FilePath: /gpt-zmide-server/docs/examples/php/README.md | ||
--> | ||
# PHP example of using gpt-zmide-server | ||
|
||
## Start | ||
|
||
edit the `$host` and `$token` field in the ZmideChatgpt class of the <src/example.php> file | ||
|
||
``` | ||
composer install | ||
php src/example.php | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "zmide/example", | ||
"type": "project", | ||
"description": "zmide chatgpt example", | ||
"autoload": { | ||
"psr-4": { | ||
"Zmide\\Example\\": "src/" | ||
} | ||
}, | ||
"authors": [ | ||
{ | ||
"name": "PBK-B", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"require": { | ||
"guzzlehttp/guzzle": "^7.0", | ||
"php": "^8.0" | ||
} | ||
} |
Oops, something went wrong.