# OpenAI GPT-3 Api Client in PHP
<br />
<br />
> ### ChatGPT API is currently supported, [click here](#chat-as-known-as-chatgpt-api) for the implementation introductions.
<br />
*A message from creator,<br />Thank you for visiting the __@orhanerday/open-ai__ repository! If you find this repository helpful or useful, we encourage you to **star** it
on GitHub. Starring a repository is a way to show your support for the project. It also helps to increase the visibility
of the project and to let the community know that it is valuable. Thanks again for your support and we hope you find the
repository useful! <br /><br /> Orhan*
<br />
<br />
[![Latest Version on Packagist](https://img.shields.io/packagist/v/orhanerday/open-ai.svg?style=flat-square)](https://packagist.org/packages/orhanerday/open-ai)
[![Total Downloads](https://img.shields.io/packagist/dt/orhanerday/open-ai.svg?style=flat-square)](https://packagist.org/packages/orhanerday/open-ai)
<br />
<br />
<img src="./openai-elephpant.svg" width="1250" height="300" alt="orhanerday-open-ai-logo">
<br />
<br />
# Featured in
[![Jetbrains Blog](https://user-images.githubusercontent.com/22305274/222431781-86591161-ccd5-4889-bd80-97a0fd0fdf0d.png)](https://blog.jetbrains.com/phpstorm/2022/12/php-annotated-december-2022/#:~:text=orhanerday/open%2Dai%20%E2%80%93%20A%20PHP%20SDK%20for%20accessing%20the%20OpenAI%20GPT%2D3%20API)
[![Laravel News](https://user-images.githubusercontent.com/22305274/222430084-be097d59-e6bc-408d-8adb-7b751d5a05b2.png)](https://laravel-news.com/openai-sdk-for-php)
[![日思录](https://user-images.githubusercontent.com/22305274/222431699-f3a8a146-e27c-4fe3-8c93-1d762559752f.png)](http://tubring.cn/articles/59)
# Comparison With Other Packages
| Project Name | Required PHP Version | Downloads | Description | Type (Official / Community) | Support |
|------------------------|----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------|
| **orhanerday/open-ai** | **PHP 7.4+** | [![Total Downloads](https://img.shields.io/packagist/dt/orhanerday/open-ai.svg?style=flat-square)](https://packagist.org/packages/orhanerday/open-ai) <br> | **Most downloaded, forked, contributed, huge community supported, and used PHP SDK for OpenAI GPT-3 and DALL-E. It also supports chatGPT-like streaming.** | Community | Available, ([Community driven Discord Server](https://discord.gg/xpGUD528XJ) or personal mail [orhan@duck.com](mailto:orhan@duck.com)) |
| openai-php/client | PHP 8.1+ | <a href="https://packagist.org/packages/openai-php/client"><img alt="Total Downloads" src="https://img.shields.io/packagist/dt/openai-php/client"></a> | OpenAI PHP API client. | Community | - |
<br />
## About this package
Fully open-source and secure community-maintained, PHP SDK for accessing the OpenAI GPT-3 API.
> #### For more information, you can read laravel news [blog post](https://laravel-news.com/openai-sdk-for-php).
> #### Free support is available. [Join our discord server](#join-our-discord-server)
> #### To get started with this package, you'll first want to be familiar with the [OpenAI API documentation](https://beta.openai.com/docs/introduction) and [examples](https://beta.openai.com/examples). Also you can get help from our discord channel that called [#api-support](https://discord.gg/R9CpVUdqQR)
## News
- orhanerday/open-ai added to community libraries php [section](https://beta.openai.com/docs/libraries/php).
- orhanerday/open-ai featured
on [PHPStorm blog post](https://blog.jetbrains.com/phpstorm/2022/12/php-annotated-december-2022/#:~:text=orhanerday/open%2Dai%20%E2%80%93%20A%20PHP%20SDK%20for%20accessing%20the%20OpenAI%20GPT%2D3%20API),
thanks JetBrains!
> Requires PHP 7.4+
## Join our discord server
![Discord Banner 2](https://discordapp.com/api/guilds/1047074572488417330/widget.png?style=banner2)
[Click here to join the Discord server](https://discord.gg/xpGUD528XJ)
## Support this project
As you may know, OpenAI PHP is an open-source project wrapping tool for OpenAI. We rely on the support of our community
to continue developing and maintaining the project, and one way that you can help is by making a donation.
Donations allow us to cover expenses such as hosting costs(for testing), development tools, and other resources that are
necessary to keep the project running smoothly. Every contribution, no matter how small, helps us to continue improving
OpenAI PHP for everyone.
If you have benefited from using OpenAI PHP and would like to support its continued development, we would greatly
appreciate a donation of any amount. You can make a donation through;
* [Buy me a coffee](https://www.buymeacoffee.com/orhane)
* [Patreon](https://patreon.com/orhann)
* [Click here for the Coinbase QR](#btc) **Bitcoin** > 34w2DftWGkDqDbYMixkmdWWMLmaP9uTRz7
* [Click here for the Coinbase QR](#doge) **Dogecoin** > DHiqcZox9M8kYDn7BkesnN6Z2kJ7dYG9Lc
* [Click here for the Coinbase QR](#eth) **Ethereum** > 0x135E2D5d7AC40c6850f844BA589D68e91a268Ceb
Thank you for considering a donation to Orhanerday/OpenAI PHP SDK. Your support is greatly appreciated and helps to
ensure that the project can continue to grow and improve.
*Sincerely,*
**Orhan Erday** / Creator.
# Endpoint Support
- Chat
- [x] [ChatGPT API](#chat-as-known-as-chatgpt-api)
- Models
- [x] [List models](https://beta.openai.com/docs/api-reference/models/list)
- [x] [Retrieve model](https://beta.openai.com/docs/api-reference/models/retrieve)
- Completions
- [x] [Create completion](https://beta.openai.com/docs/api-reference/completions/create)
- Edits
- [x] [Create edits](https://beta.openai.com/docs/api-reference/edits/create)
- Images
- [x] [Create image](https://beta.openai.com/docs/api-reference/images/create)
- [x] [Create image edit](https://beta.openai.com/docs/api-reference/images/create-edit)
- [x] [Create image variation](https://beta.openai.com/docs/api-reference/images/create-variation)
- Embeddings
- [x] [Create embeddings](https://beta.openai.com/docs/api-reference/embeddings/create)
- Audio
- [x] [Create transcription](https://platform.openai.com/docs/api-reference/audio/create)
- [x] [Create translation](https://platform.openai.com/docs/api-reference/audio/create)
- Files
- [x] [List files](https://beta.openai.com/docs/api-reference/files/list)
- [x] [Upload file](https://beta.openai.com/docs/api-reference/files/upload)
- [x] [Delete file](https://beta.openai.com/docs/api-reference/files/delete)
- [x] [Retrieve file](https://beta.openai.com/docs/api-reference/files/retrieve)
- [x] [Retrieve file content](https://beta.openai.com/docs/api-reference/files/retrieve-content)
- Fine-tunes
- [x] [Create fine
没有合适的资源?快使用搜索试试~ 我知道了~
一款基于WordPress开发的高颜值的自适应主题,支持白天与黑夜模式v2.8.2
共527个文件
php:252个
png:37个
js:36个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 23 浏览量
2024-04-17
08:06:31
上传
评论
收藏 22.99MB ZIP 举报
温馨提示
安装请到 发行版本 中进行下载最新版本,然后到 WordPress 管理后台中的「外观」-「主题」中点击「添加」,选择 Puock 的主题包进行上传安装并启用即可。提示:为了防止主题不兼容,请在安装主题前进行数据备份,防止数据字段重复覆盖等情况发生。重要:请不要直接克隆或直接下载仓库进行使用,请到发行版中进行下载使用 环境要求 WordPress >=6.0 PHP >=7.4
资源推荐
资源详情
资源评论
收起资源包目录
一款基于WordPress开发的高颜值的自适应主题,支持白天与黑夜模式v2.8.2 (527个子文件)
.babelrc 47B
vocab.bpe 446KB
libs.min.css 368KB
bootstrap.min.css 190KB
all.min.css 99KB
style.min.css 60KB
animate.min.css 57KB
DPlayer.min.css 36KB
swiper.min.css 16KB
screen.min.css 15KB
strawberry-icon.css 15KB
common.min.css 14KB
layer.css 14KB
viewer.min.css 8KB
index.css 5KB
layer.css 5KB
toastify.css 2KB
theme.min.css 1KB
puc-debug-bar.css 1KB
style-index.css 1KB
var.min.css 901B
ripple.min.css 697B
animation.min.css 686B
init.min.css 363B
style.css 315B
animal.min.css 227B
.php_cs.dist 1KB
.editorconfig 271B
StrawberryIcon-Free.eot 67KB
.gitignore 859B
.gitignore 207B
.gitignore 78B
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 4KB
loginAgent.html 3KB
loginAgent.html 3KB
loginAgent.html 3KB
index.html 12B
favicon.ico 4KB
author-bg.jpg 299KB
6.jpg 72KB
head-cover.jpg 68KB
3.jpg 54KB
5.jpg 44KB
4.jpg 34KB
8.jpg 33KB
2.jpg 31KB
1.jpg 27KB
7.jpg 11KB
index.js 1.37MB
libs.min.js 395KB
html2canvas.min.js 194KB
DPlayer.min.js 157KB
swiper.min.js 140KB
highlight.min.js 106KB
marked.js 103KB
jquery.min.js 95KB
bootstrap.bundle.min.js 79KB
puock.js 41KB
viewer.min.js 37KB
puock.min.js 27KB
page-ai.min.js 23KB
layer.js 22KB
page-ai.js 18KB
toastify.js 15KB
gt4.js 14KB
index.js 14KB
clipboard.min.js 10KB
spark-md5.min.js 10KB
instantclick.min.js 6KB
theia-sticky-sidebar.min.js 5KB
layer.js 3KB
highlightjs-line-numbers.min.js 3KB
lozad.min.js 3KB
zh_CN.js 3KB
ResizeSensor.min.js 2KB
admin.js 2KB
gulpfile.js 2KB
quicktags.js 2KB
js.cookie.min.js 2KB
ripple.min.js 2KB
debug-bar.js 2KB
quicktags.min.js 1KB
admin.min.js 1KB
en_US.js 222B
encoder.json 1018KB
package-lock.json 262KB
installed.json 13KB
plugin.json 2KB
composer.json 1KB
composer.json 1KB
composer.json 931B
composer.json 696B
block.json 686B
共 527 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
办公模板库素材蛙
- 粉丝: 1580
- 资源: 2298
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功